- Fork and clone this repository.
- Run
cd gardento go into the project directory. - Create a virtual environment by running
python -m venv venv, you now have a virtual environment in the venv directory in your project. - Now run
source venv/bin/activateto activate your virtual environment. - Run
pip install -r requirements.txtto install the required packages. - Run
docker-compose up -d mongodbto start a mongoserver if none are running or start your own. - Do
cp .env.dist .envand change the values in the .env file to fit your environment. - Run
export FLASK_APP=garden/__init__.py && export FLASK_DEBUG=true. - Finally, execute
flask runto start the development server.
The app can now be accessed at 127.0.0.1:5000.
- Clone the repository.
- Go into the project dir.
- Do
cp .env.dist .envand change the values in the .env file to fit your environment or skip this step and set the env vars some other way. - Run
docker-compose up -d --build.
The app is now running on port 80.