El entorno de desarrollo esta configurado con docker siguiendo los pasos de los chicos de capisde
Prerequisites:
You will need to have docker installed at your system and running
Steps:
docker-compose build
(add --no-cache
to avoid problems)docker-compose up -d
http://localhost
is up and running.Access to docker containers:
docker ps
to get all containers information.Run manage.py:
ATTENTION:
When 'docker-compose up', if database raises an error, check permissions in "postgres/docker-entrypoint-initdb.d/etsy_web.sh". Detected related error also when doing migrations. If the problem persits, try to:
When 'docker-compose build' it may raise an error showing that "ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?", or similar. A solution to this may be adding docker to a security group, doing the following steps: