Project to run the whole ggtracker stack in vagrant
- Make sure you have vagrant+virtualbox installed on your computer
- Run
git submodule update --init
to pull submodules - Run
vagrant up
to create the virtual box. This will download all required packages and go through the installation process for ggtracker and ESDB (~15 minutes; go make yourself a sandwich) - Run
vagrant ssh
to ssh into the vagrant box - Find code in /vagrant
cd /vagrant
- Start the application (requires 2 ssh sessions, or run them as background jobs)
- ESDB:
(cd esdb && foreman start)
- ggtracker:
(cd ggtracker && ESDB_HOST=172.28.128.3:9292 foreman start)
(change IP accordingly)
- ESDB:
- Set up Amazon AWS S3 buckets for development as described in esdb/config/s3.yml.example (only dev and test are needed) and set up buckets and credentials accordingly in
esdb/config/s3.yml
. - Set up a hostname for the vagrant box's ip in /etc/hosts - e.g.
172.28.128.3 ggtracker.test
(change ip accordingly) - The app will be on
ggtracker.test
in the browser and uploading should work - otherwise please raise an issue here, so it can be fixed.