Last active
July 11, 2017 08:13
-
-
Save shyammohankanojia/767187ce2352e51addfa8e364b1f06b8 to your computer and use it in GitHub Desktop.
Quick-Start-With-Argo-and-tugboat-notes
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
Follow this link | |
https://gist.github.com/Drunlade/7f3691920e2f02d490723ec6305d9b08 | |
Follow following steps Once you get Argo code | |
Install Python | |
> brew install python | |
Install Snappy | |
> brew install snappy | |
Install Java | |
> brew cask install java | |
Install Cassandra | |
> pip install cql | |
> brew install cassandra | |
> cassandra -f | |
> CREATE KEYSPACE argodev WITH replication = {'class': 'SimpleStrategy', 'replication_factor' : '1'}; | |
Install elasticsearch | |
> brew install elasticsearch | |
Export ENV Var | |
----------------------------- | |
export ArgoLogElasticUrl=http://localhost:9200 | |
export ArgoPastureTTL=100 | |
export ArgoPastureAddr=127.0.0.1:9042 | |
export ArgoPastureKeyspace=argodev | |
-------------------- | |
Put the following lines in /etc/hosts: | |
127.0.0.1 firefly-test.argo.localhost | |
127.0.0.1 firefly.thermeon.eu | |
227.0.0.1 hza001.argo.localhost | |
127.0.0.1 logs.thermeon.eu.localhost | |
Create a tunnel to the actual firefly.thermeon.eu: | |
ssh -fgN -L firefly.thermeon.eu:32761:firefly.thermeon.eu:32761 devel.thermeon.eu | |
eg. ssh -i <SSHKEYS> -fgN -L firefly.thermeon.eu:32761:firefly.thermeon.eu:32761 USERNAME@devel.thermeon.eu | |
Start Argo App | |
ArgoPort=8080 ArgoLogAddr=127.0.0.1:9090 $GOPATH/bin/argo | |
Access Argo like this (if running on port 8080): | |
http://firefly-test.argo.localhost:8080/1.4.0/docs | |
Note: this URL have Basic Auth User:password can be asked form existing team members | |
SETUP and Follow https://github.com/thermeon/tugboat-tests for Tugboat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment