Edwin is a bug management system.
pip install -r requirements.txt
./manage.py migrate
npm install
Note
You'll be using the
Dev
configuration by default. Make sure to change this for deployments by setting the DJANGO_CONFIGURATION environment variable.
You can run pre-commit install
to set up the pre-commit machinery which will
lint changes before you commit. Linting saves lives.
./manage.py test
to run tests for the backend.npm test
to run Jest tests for frontend code.Edwin is designed to be deployed on Heroku using the multi-buildpack.
For deployments, a few environment variables should be set.
DJANGO_CONFIGURATION
- This should be set to Base
for most production
deployments.DJANGO_SECRET_KEY
- This should be a long random string.DJANGO_ALLOWED_HOSTS
- This should be the hostname (and only the hostname)
the deployment can be reached at. It may be multiple values separated by
commas. Example: edwin-dev.herokuapp.com,edwin.example.com
.DJANGO_DATABASES
- This should be set to a DB URL for your database.
Example: sqlite://
for an in-memory sqlite storage. Heroku sets this
automatically.You need a super user account to log into the admin. Run:
./manage.py createsuperuser
and answer the questions.
https://HOST/admin
.Teams
.You can create, edit and delete teams here.