Skip to content

dimagi/connect-id

Repository files navigation

Connect-ID

Steps to Set Up the Project Locally:

  1. Create and activate a Python virtual environment using Python 3.11:

    python3.11 -m venv <virtual-env-path>
    source <virtual-env-path>/bin/activate  # On Windows, use <virtual-env-path>\Scripts\activate
  2. Install the required dependencies:

    pip install -r requirements-dev.txt
  3. Install Git hooks:

    pre-commit install
    pre-commit run -a
  4. Create an environment file and edit the settings as needed:

    cp .env_template .env
  5. Set the following environment variables in the .env file:

    DATABASE_URL=
    DEBUG=True
    SECRET_KEY=None  # set None to use default secret key provided in settings.py
    APP_HASH=None    # set None to use default APP_HASH provided in settings.py
  6. Run Django migrations and start the development server:

    ./manage.py migrate
    ./manage.py runserver

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published