Skip to content

MaayanLab/WebDevDemo

Repository files navigation

webdev-summer-demo

web dev demo

Development

The entrypoint of the application is in webdev_summer_demo/app/app.py; do not change the name of the file or directory.

Getting Started

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Running in development

source venv/bin/activate
python run.py

And visit http://localhost:8080/webdev_summer_demo.

Installing new dependencies

Python dependencies

Ensure you update requirements.txt whenever installing a new dependency with pip.

System dependencies

In the case of extra (debian) system dependencies, add them to deps.txt.

Deployment

Build for deployment

docker-compose build app

Deploy

docker-compose push app

Execute locally

docker-compose run app

About

Web server Development and Containerization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published