Development Setup

Local Setup

  1. Install Docker for your OS. Also install Fabric via pip install fabric

  2. Create .env file with the reference of.env.exampleor receive .env file from your team member.

  3. Runfab up

  4. Go to http://127.0.0.1:8080/ to see the React frontend running. The Django app is running under

    http://127.0.0.1:8080/api/

  5. Run fab fakedata

    • create mock data like account, partner agencies, etc.

  6. Go to http://127.0.0.1:8080/login login with fake-user-72@unicef.org/Passw0rd! and can now go t

Fabric commands

For convenience some fabric commands are included, such as getting into Django app container

fab ssh:backend

or running tests

fab tests

For the most up-to-date reference just check fabfile.py in the repository root.

Last updated