diff options
author | 2018-03-25 20:33:25 +0200 | |
---|---|---|
committer | 2018-03-25 19:33:25 +0100 | |
commit | cdc5d4fec9408563595beeb0c9019e31ee3b1398 (patch) | |
tree | 563cf7caeecd98e0a36e788aa8d1326ece9c0a6d /Vagrant_bootstrap.sh | |
parent | Made .travis.yml a bit more consistent (#44) (diff) |
Docker compose (#40)
* adds docker-compose file
* cleanup
* adds template auto reload to vagrant box
* Update index.html
Diffstat (limited to 'Vagrant_bootstrap.sh')
-rw-r--r-- | Vagrant_bootstrap.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Vagrant_bootstrap.sh b/Vagrant_bootstrap.sh index 32e779f5..97be3c71 100644 --- a/Vagrant_bootstrap.sh +++ b/Vagrant_bootstrap.sh @@ -69,7 +69,18 @@ export RETHINKDB_PORT="28016" export RETHINKDB_DATABASE="database" export RETHINKDB_TABLE="table" export BOT_API_KEY="abcdefghijklmnopqrstuvwxyz" +export TEMPLATES_AUTO_RELOAD="yes" alias python=python3.6 EOF + +curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - +add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" +apt-get update +apt-get install -y docker-ce + +curl -L https://github.com/docker/compose/releases/download/1.20.0-rc1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose +chmod +x /usr/local/bin/docker-compose + + echo 'docs: https://github.com/discord-python/site/wiki/Development-Environment-(Vagrant)' |