Skip to content

duplxey/appsignal-django-error-tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Track Errors in Django with AppSignal

This repository demonstrates how to use AppSignal to track errors in a Django application.

Read the article on AppSignal's blog.

Development Setup

  1. Create a new virtual environment and activate it:

    $ python -m venv venv && source venv/bin/activate
  2. Install the dependencies:

    $ pip install -r requirements.txt
  3. Create a .env file with the following contents:

    APPSIGNAL_PUSH_API_KEY=<your_push_api_key>
  4. Migrate the database:

    $ python manage.py migrate
  5. 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
  6. Run the development server:

    $ python manage.py runserver
  7. Visit http://localhost:8000/movies in your favorite web browser.

About

Learn how to use AppSignal to track errors in a Django app.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages