-
Notifications
You must be signed in to change notification settings - Fork 3
Contributing:DevFirstSteps
First you want to install the cluster
following the instructions here.
Afterwards you should install node
. The instructions can be found here.
In case you are running into any errors while setting up node
and cluster
, you can check consul
(http://10.66.60.1:8500/ui/dc1/services
) and nomad
(http://10.66.60.1:4646/ui/jobs
) for logs or error messages. In nomad
you can click on the jobs name or ID following the links until you reach a page, where you can see the logs.
You might want to work on the Hoover UI, so you can set it up for local development as explained here.
See Development Readme for instructions on how to mount the repos locally and set everything up for local development.
You want to create a feature-branch for everything you are working on. Once you need someone to review your work, push it to the remote repository, open a pull request and ask for review.
If you are working on Snoop and want to debug running tasks or have a look at the databases, you can visit http://10.66.60.1:9990/snoop/admin/_default/
(the IP adress depends on what you specified while setting up cluster
). On the Snoop admin page you can see all the tasks and error messages appear there as well. Just choose a collection and go to Tasks
for a list of tasks or Task Stats
for an overview.
To debug tasks inside a shell you can use ./liquid shell hoover-workers:snoop-workers ./manage.py retrytask testdata 666 --fg
which will run the task in the foreground.
To explore the databases you can enter ./liquid shell hoover-deps:snoop-pg psql -U snoop -d collection_testdata
and then use SQL. Enter \h
for a list of SQL commands or help
for a list of psql
commands.
See Hoover Readme for the insctructions on how to manage collections in hoover.
Report incomplete documentation by opening a new Issue in this repository.