Last active
July 11, 2018 09:32
-
-
Save marcopeg/cc0fab6c1be1fafb7fd7c4fd87f08ff9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
# OSX | |
# bash <(curl -fsSL https://gist.github.com/marcopeg/cc0fab6c1be1fafb7fd7c4fd87f08ff9/raw) | |
# | |
# Linux | |
# wget -O - https://gist.github.com/marcopeg/cc0fab6c1be1fafb7fd7c4fd87f08ff9/raw | bash -s | |
# | |
# clone repos | |
clear | |
echo "> Clone repos" | |
git clone [email protected]:fetchq/gitbook.git | |
git clone [email protected]:fetchq/pg-extension.git | |
git clone [email protected]:fetchq/node-client.git | |
git clone [email protected]:fetchq/dev.git | |
# install dependencies | |
clear | |
echo "> Install dependencies" | |
(cd node && yarn) | |
(cd dev/demo/app && yarn) | |
(cd dev/rest-server && yarn) | |
# start postgres | |
clear | |
echo "> Start Fetchq database container" | |
(cd pg-extension && make start-pg) | |
# cleanup | |
clear | |
echo "> Run ""ctop"" to monitor the db instance" | |
echo "> (brew install ctop" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment