---
# System prepended metadata

title: Quick Commands

---

# Quick Commands

#### devapp
`gironde login --otp <yubikey>`
`gironde ssh devapp` : get into devapp
`make web-api` : start up tmx instance
`make terminal`: devapp terminal
`make web` : only FE


#### watcher
`cd code/pinboard/webapp` > `yarn dev`

#### Hologram
`gironde ssh -A devapp`
`source hologram use engineer`

#### git rebase (in order)
`git checkout master` 
`git pull` (on master)
`git checkout <your-branch>`
`git rebase origin/master`
... resolve any conflicts here! `git rebase --continue`
`arc diff`

https://w.pinadmin.com/display/enKB/Useful+Git+Aliases
`git pull -> git feature -> git add -> git commit -> git sync -> arc diff -> arc land` if approved

#### arc/ phabricator
`arc diff --only` : just to see changes in UI if you're not ready to make a diff - no builds

#### lint/flow testing 
FE: `cd code/pinboard/webapp` > `yarn flow`
BE: `arc lint`

#### jest testing
`cd code/pinboard/webapp` > `yarn test <file-path> --u`


#### python testing
on devapp terminal
`python ./bin/run_tests.py -s <file-path>` (whole file)
`python ./bin/run_tests.py -s <file-path>:<class>.<method>` (specific test suite)

note: https://pinterest.slack.com/archives/CB9GU5SA0/p1638402558321000

#### spinner watcher
`cd code/spinner-workflow/bin`
`python3 watcher.py`

#### spinner testing
in webapp
`pcloud oauth login --otp <yubikey>` for 2oa before running test command
`./test_workflow.sh -f <dag folder>` to start testing container
visit dev-ldap.8080 to see workflow
`airflow dags unpause <dag_ID>` or toggle "on/off" switch to start executing workflow

