Skip to content

Instantly share code, notes, and snippets.

@marcopeg
Last active July 11, 2018 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcopeg/cc0fab6c1be1fafb7fd7c4fd87f08ff9 to your computer and use it in GitHub Desktop.
Save marcopeg/cc0fab6c1be1fafb7fd7c4fd87f08ff9 to your computer and use it in GitHub Desktop.
#/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 git@github.com:fetchq/gitbook.git
git clone git@github.com:fetchq/pg-extension.git
git clone git@github.com:fetchq/node-client.git
git clone git@github.com: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