PT Estimator
Resources
Dev Env Init
- yarn install
- cd server
- rvm install 2.6.3
- gem install bundler
- bundle install
- brew services list (check postgres status)
- brew services start postgres (if pg is stopped)
- rake db:create
- cd ..
- yarn run develop
Editor config
There is annoying gotcha with Parcel where hot module reloading breaks after first save for any editor that has safe write. https://parceljs.org/hmr.html#safe-write
This includes:
- vim
- vscode
- sublime
Client Init
Ensure you have nvm installed (this will ensure the project uses a consistent version of Node).
- nvm use
- yarn install
Client Scripts
Formatting
Run yarn format
to have prettier
format all TypeScript
files in client/
.
Run yarn format:check
to verify prettier
has run, or to see if any files need formatting.