# server side dependencies
npm install
Install Postgres with Homebrew:
# update brew
brew update
# install postgres
brew install postgresql
It may be helpful to have one terminal tab open per process
- start the local postgres server:
npm run dev:startdb
- run the build process to bundle server files and transpile code
npm run dev:buildserver
- run the (node) server from the root directory of this project
npm run dev:start
- run the build process to bundle client files and transpile code
npm run dev:watchClient
It is required to have multiple tabs open
- start the local postgres server:
npm run dev:startdb
- Drop current database (uncle) by starting another database:
psql anotherdatabase
Within the database:drop database uncle
- Create a new database (uncle) and start:
createdb uncle
psql uncle
\c uncle
- run the build process to bundle files and transpile code
npm run dev:buildserver
- run the (node) server from the root directory of this project
npm run dev:start
- Multiple saves might be required to generate all tables in database
- command + s in sublime
- Drop the current App in slack.com/apps under manage tab. Click Remove App
- Add the app
- Run node server/dist/utils/jobScraper.js to add jobs to database
- Interact with the bot