Name: deploy
Owner: Histograph
Description: Deploy scripts for Histograph
Created: 2015-02-10 13:42:31.0
Updated: 2015-03-18 09:41:32.0
Pushed: 2015-10-20 13:42:52.0
Homepage: null
Size: 220
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Deploy and rebuild/reload scripts for Histograph
With an already running server, it is possible to rebuild the components and refresh the data. To rebuild everyting:
stograph-rebuild.sh
To reload all source data and rebuild indexes and storage (this will take a while, depending on your hardware)
stograph-reload.sh
To refresh the indexes and graph:
stograph-refresh.sh
Install docker through the main repository
get install docker
Set up SSH key for Github, if you haven't already. This is necessary to be able to clone the private data repository
keygen -t rsa -C "your_email@example.com"
$(ssh-agent -s)
add ~/.ssh/id_rsa
< ~/.ssh/id_rsa.pub
Then paste the clipboard contents in github under [https://github.com/settings/ssh] as a new key. Clone this repository, change to the cloned directory and start using:
clone https://github.com/histograph/deploy
eploy
er build .
Unfortunately, Docker needs a virtual machine to run in, which complicates matters somewhat.
Open putty and log into the virtual machine using the following settings:
Then set up the SSH key for Github. This is necessary to be able to clone the private data repository. In putty, type the following (make sure to insert your own mail adress). Make sure NOT to provide a passphrase, otherwise the procedure will fail.
keygen -t rsa -C "your_email@example.com"
$(ssh-agent -s)
add ~/.ssh/id_rsa
~/.ssh/id_rsa.pub
Then paste the clipboard contents, starting from “ssh-rsa” and including the email address at the end, past it in github under [https://github.com/settings/ssh] as a new key. Check the correct workings of this all with:
-T git@github.com
and enter yes when asked to add the fingerprint.
Then, the installation can start! Clone this repository, change to the cloned directory and start using:
clone https://github.com/histograph/deploy
eploy
er build .
Copyright © 2015 Waag Society.