These are chat archives for mirumee/saleor

26th
Aug 2018
Lokesh Sanapalli
@lokesh1729_gitlab
Aug 26 2018 17:56
hey everyone, I want to contribute to saleor, for setting up local dev environment, "docker-compose up" is enough right??? is there any guide on how to setup
Stephen Moloney
@stephenmoloney
Aug 26 2018 19:23
first build the web container docker-compose build web --build-arg STATIC_URL=/static/, this is only needed until this is merged mirumee/saleor#2693
then try
docker-compose run -e STATIC_URL=/static/ --rm web /bin/sh -c 'python manage.py migrate && \
python manage.py populatedb --createsuperuser' && docker-compose up -d
Then the service should be running off localhost:8000
Stephen Moloney
@stephenmoloney
Aug 26 2018 20:24
docker-compose down --rmi local --remove-orphans --volumes;
docker-compose build --build-arg STATIC_URL=/static/ web celery && docker-compose run --rm web /bin/sh -c 'python manage.py migrate && \
python manage.py populatedb --createsuperuser' && docker-compose up --no-build -d
:point_up: that should do it