python=3.6
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
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
Content type
Image
Digest
Size
359.4 MB
Last updated
over 7 years ago
docker pull wwyf/waterfall-backend