- install docker & docker-compose
- run
make init-dev - fill
POSTGRES_USERandPOSTGRES_PASSWORDto./.envs/.local/.postgres - fill
CELERY_FLOWER_USERandCELERY_FLOWER_PASSWORDto./.envs/.local/.django - fill
STRIPE_PUBLIC_KEYandSTRIPE_SECRET_KEYto./.envs/.local/.django - fill
SOCIAL_AUTH_FACEBOOK_NAMESOCIAL_AUTH_FACEBOOK_APP_IDSOCIAL_AUTH_FACEBOOK_SECRETSOCIAL_AUTH_GOOGLE_NAMESOCIAL_AUTH_GOOGLE_APP_IDSOCIAL_AUTH_GOOGLE_SECRETto./.envs/.local/.django - run
make build-dev - run
create-stripe-devto create stripe plans - run
set-socials-devto set social ids, names and keys
Run With Demo Data(https://wiki.itransition.com/display/ONE33T/Demo+Data):
- run
make recreatedb-demo-devto create dev environment with demo data.
Run Without Demo Data:
- run
make start-dev - run
make createsuperuser-devand create admin
localhost:8000 - backend (Django 2) localhost:4200 - frontend (Angular 7)
- stop all containers dev/prod if running(
make down-devormake down-prod) - run
make build-test - run
make start-test - Frontend tests:
make frontend-all-test - Backend tests:
make backend-all-test
There are code style agreements: Front-end: https://wiki.itransition.com/display/ONE33T/Front-end+style+guide Back-end: https://wiki.itransition.com/display/ONE33T/BE+Style+Guide