Skip to content

Instantly share code, notes, and snippets.

@marcopeg marcopeg/fetchq-setup-dev
Last active Jul 11, 2018

Embed
What would you like to do?
#/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
You can’t perform that action at this time.