- Install redis, postgress, python 3.8+ and node 14+
- Create enviroment variables
cp .env.example .env
(make sure to fill the variables with relevant values) - Make sure to get inside the environment:
pipenv shell
- Install the dependencies including development packages:
pipenv install --dev
- Run the migrations into your database
pipenv run migrate
- Run the fixtures to add sample data:
pipenv run python manage.py loaddata breathecode/*/fixtures/dev_*.json
- Make sure you can login into the django admin, you can create a login user with
python manage.py createsuperuser
- Generate the Breathecode Docker image
pipenv run docker_build
- Create enviroment variables
cp .env.example .env
(make sure to fill the variables with relevant values) - Run containers with
docker-compose up -d
- Make sure you can login into the django admin, you can create a login user with
docker-compose exec breathecode python manage.py createsuperuser
pipenv run test ./breathecode/
Report with HTML
pipenv run coverage breathecode
Fixtures are fake data ideal for development.
Saving new fixtures
python manage.py dumpdata auth > ./breathecode/auth/fixtures/users.json
Loading all fixtures
pipenv run python manage.py loaddata breathecode/*/fixtures/dev_*.json
The following icons arebeing used for the slack integrations: https://www.pngrepo.com/collection/soft-colored-ui-icons/1