Skip to content

blackfireio/bigfoot-django

Repository files navigation

BigFoot Django project

Installation

Tested only with Python 3.9.

  1. Install requirements using pipenv:

    pipenv install
  2. Start the PostGreSQL container:

    docker-compose up -d
  3. pyscopg2 library requires PostgreSQL to be installed on the system. (E.x: you might get pg_config executable not found errors during installation)

    Make sure PostgreSQL is installed on the host:

    > brew install postgresql           # MacOS
    > sudo apt-get install postgresql   # Ubuntu
    
  4. The database user/name are set to bigfoot by default. So, you might need to run:

    > sudo -u postgres psql
    postgres> createdb bigfoot && createuser -s bigfoot
    
  5. Generate fake data:

    pipenv run python manage.py migrate
    pipenv run python manage.py generate_fake_data
  6. Run server with blackfire-python:

    blackfire-python manage.py runserver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages