The best way to reproduce this is to do the following:
- Clone the repository.
$ git clone https://github.com/betfund/betfund-webapp.git
- Create a new
conda
environment from theenvironment.yml
file.
$ conda env create environment.yml
$ conda activate betfund
- Install the package (optionally, in editable mode).
$ pip install -e .
- Export development environment variables
$ export FLASK_APP=application
$ export FLASK_ENV=development
- Create the test database.
$ flask db init
- Run the app.
$ flask run