Skip to content

About

Website for running aeciospore dispersal model

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

105 Commits

Folders and files

Repository files navigation

sr-dispersal

Steps to run the website locally

  1. Clone the github repository

git clone git@github.com:vbuens/sr-dispersal.git

  1. Create a virtual environment

python3 -m venv venv-SR

  1. Activate venv

source venv-SR/bin/activate

  1. Install requirements

pip install -r sr-dispersal/requirements.txt

  1. Set environment variables, e.g.
export SECRET_KEY=secret
export ALLOWED_HOSTS=".example.com 203.0.113.5"
export DB_NAME=stemrust
export DB_USERNAME=changeme
export DB_PASSWORD=changeme
  1. Configure the database
python manage.py makemigrations
python manage.py migrate
  1. Run server

python manage.py runserver

  1. Open website locally

Open a browser and go to: http://127.0.0.1:8000/dispersal/

About

Website for running aeciospore dispersal model

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages