Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 689 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 689 Bytes

FlatBlocks example

Build

docker-compose build
docker-compose up

docker-compose run --rm server ./manage.py migrate
docker-compose run --rm server ./manage.py createsuperuser

Use

docker-compose up

Frontend server starts on http://localhost:3000 by default

If you use another host (for example, across docker-machine), change it in docker-compose.override.yml environment:

FRONTEND_DEV_HOST: '10.211.55.8'

Backend server starts on http://localhost:8000 Admin url is http://localhost:8000/admin/

Also change appropriate constant settings in Admin panel (FRONTEND_SITE_URL, BACKEND_SITE_URL) for correct image displaying