Sign inSign up

wwyf/waterfall-backend

By wwyf

Updated over 7 years ago

Image
0

1.0K

wwyf/waterfall-backend repository overview

Waterfall-backend

Envinment

python=3.6

Start in debug mode

git clone [email protected]:wwyf/Waterfall-backend.git
cd Waterfall-backend

Then you should setup the environment by instruments below.

# create virtual environment
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Finally you can run Waterfall-backend in debug mode.

export FLASK_APP=src
export FLASK_ENV=development # turn on debug mode and other dev features
flask run

Backend will run on http://localhost:5000.

Or maybe you can just run with the sample shell script ./run.sh after you configure with virtual environment.

git clone [email protected]:wwyf/Waterfall-backend.git
cd Waterfall-backend
source venv/bin/activate
./run.sh

Docker

Build and Run
git clone [email protected]:wwyf/Waterfall-backend.git
cd Waterfall-backend

build your image.

docker build -t waterfall-backend .
docker run  -d waterfall-backend

Also you can get it from DockerHub

Tag summary

Content type

Image

Digest

Size

359.4 MB

Last updated

over 7 years ago

docker pull wwyf/waterfall-backend