This repository demonstrates how to use AppSignal to track errors in a Django application.
Read the article on AppSignal's blog.
-
Create a new virtual environment and activate it:
$ python -m venv venv && source venv/bin/activate
-
Install the dependencies:
$ pip install -r requirements.txt
-
Create a .env file with the following contents:
APPSIGNAL_PUSH_API_KEY=<your_push_api_key>
-
Migrate the database:
$ python manage.py migrate
-
Load the fixtures to populate the database:
$ python manage.py loaddata fixtures/Movie.json --app app.Movie $ python manage.py loaddata fixtures/MovieReview.json --app app.MovieReview
-
Run the development server:
$ python manage.py runserver
-
Visit http://localhost:8000/movies in your favorite web browser.