I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Verified Commit 6d4dfa82 authored by idk's avatar idk
Browse files

make it easier to run in dev mode inside of docker

parent c968066a
No related branches found
No related tags found
No related merge requests found
#! /usr/bin/env sh
virtualenv --distribute env
. env/bin/activate
./runserver.py
...@@ -9,5 +9,6 @@ cd "$DIR" ...@@ -9,5 +9,6 @@ cd "$DIR"
git pull origin master git pull origin master
docker build --no-cache -t i2p-mirror/i2p.www . docker build --no-cache -t i2p-mirror/i2p.www .
docker rm -f mirror.i2p.www docker rm -f mirror.i2p.www
docker run -itd $i2p_www_docker_run_args --name mirror.i2p.www -p 0.0.0.0:8090:80 i2p-mirror/i2p.www #docker run -itd $i2p_www_docker_run_args --name mirror.i2p.www -p 0.0.0.0:8090:80 i2p-mirror/i2p.www
docker run -it --net=host --name i2p.www -p 5000:5000 --volume "`pwd`":/var/www/i2p.www --env DEV=on i2p-mirror/i2p.www ./runserver.py
#docker run -td --name mirror.i2p.www --restart=always -p 0.0.0.0:5000:5000 i2p-mirror/i2p.www #docker run -td --name mirror.i2p.www --restart=always -p 0.0.0.0:5000:5000 i2p-mirror/i2p.www
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment