-
To get started, start in the ruetech docker dev env directory (
ruetech/dockerfiles/dev_environment
). -
Connect to VPN
-
Shut down any running dev env docker containers:
docker compose down
- Check out the most recent code from
develop
:
git checkout develop
git pull
- Ensure you don't have any lingering, dead containers:
docker ps -a
If you have any dead containers, remove them using docker rm <paste the container ID>
. Do this until the above command shows no remaining containers.
- Destroy your old ruecommerce Docker volume:
docker volume rm ruecommerce
this can fail if you still have have any containers (dead or alive) that were using the volume
- Create your new ruecommerce:
./scripts/bootstrap/prepare_db.sh
...you'll have to wait a little while for this to finish. Times vary, but it could be as little as 10 min or less.
fatal error: An error occurred (InvalidClientTokenId) when calling the AssumeRole operation: The security token included in the request is invalid
you'll need to run aws-mfa -p rue-ops
and complete the reauthentication process, then run the above script again.
You can follow along by tailing the logs (in another terminal) as the output of the script says to do.
- Validation
That's it! Just validate that your local env can still start up:
docker compose up ruelala-nginx
Go visit https://dev.ruelala.com/boutique/ and you should see boutiques appear. If not, wait a moment and try again.