forked from memoryInject/media-review-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes.yml
34 lines (29 loc) · 982 Bytes
/
notes.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
RUNNIG_CELERY_AND_REDIS:
- start redis server:
- redis-server
- start celery worker for config(it's the application name):
- cd backend
- celery -A config worker -l INFO
- start celery flower for monitoring:
- cd backend
- celery -A config flower --port=5555
CHANGE_NOTIFICATION_URL_PRODUCTION:
- reference: Notification.js
SEED_DATA_BASE_BACKEND:
- python manage.py loaddata user userprofile project review asset media feedback
DOCKER:
DOCKER-COMPOSE:
# Buld the image
- docker-compose build
# Run
- docker-compose up
# Run in detached mode
- docker-compose up -d
# logging
- docker-compose logs -f
# Access specific service
- docker-compose exec <service-name> bash
# example
- docker-compose exec backend bash
# run a container and remove after exit bash
- docker-compose run --rm backend bash