How to get a working dev environment
On linux, and working meaning seeing the current development state.
Install docker, docker-compose, git
git clone -b stabilizehttps://github.com/AEGEE/oms-docker.git--recursivecd oms-docker/docker-devsudo docker-compose up -dmake sandwich, have a walk, exercise, read a book and then come back (or
sudo docker-compose logs -f omscoreuntil gulp task started)Open browser in localhost
Go to modules, activate services (all, also the abusive one)
Refresh browser
Troubleshooting things:
docker-compose logs <container>- gives a good start to check on what a container does. If you want to know which containers are there, check docker-compose.ymldocker-compose exec <container> bash- this way you can play around with a containerCheck the commits of the submodules, ask for each repo which is the currently working commit
After changing something,
docker-compose down -v && docker-compose up -d
How to get a working staging environment
On linux
install docker, docker-compose, wget
wgethttps://raw.githubusercontent.com/AEGEE/oms-docker/stabilize/docker-dev/docker-compose-staging.yml-O docker-compose.ymldocker-compose up -dMake sandwich, come back
Open browser in localhost
Go to modules, activate services (all, also the abusive one)
Refresh browser
Troubleshooting things
Ask in slack