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 stabilize https://github.com/AEGEE/oms-docker.git --recursive
cd oms-docker/docker-dev
sudo docker-compose up -d
- make sandwich, have a walk, exercise, read a book and then come back (or
sudo docker-compose logs -f omscore
until 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 container- Check 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
wget https://raw.githubusercontent.com/AEGEE/oms-docker/stabilize/docker-dev/docker-compose-staging.yml -O docker-compose.yml
docker-compose up -d
- Make sandwich, come back
- Open browser in localhost
- Go to modules, activate services (all, also the abusive one)
- Refresh browser
Troubleshooting things
- Ask in slack