Skip to content

engrafa/backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backend

Development

Run the server in a development environment:

  • Make sure all requirements are installed or install them with:
pip install -r requirements.txt
  • Run the server in a developement environment:
python server.py

The default developement port is 8000.

Dockerized

Run the server in a docker container:

docker build . -t yaguide-backend
docker run -p 80:80 yaguide-backend

Production (without docker)

Run the server in a production environment:

  • Make sure all requirements are installed or install them with:
pip install -r requirements.txt
  • Run the server in a production environment with gunicorn:
gunicorn --bind 0.0.0.0:80 server:app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •