Learn and share software engineering skills in real life.
Install dependencies:
yarn install
Start the mysql server:
mysql.server start
Initiate the database:
yarn init:dev
Add tables to the database:
yarn migrate_up:dev
Start the API:
yarn start_api:dev
Build sources with webpack:
yarn build:dev
Run the development server:
yarn start_web:dev
Start the mysql server:
mysql.server start
Start the API in testing mode:
yarn start_api:test
Run unit and functional tests:
NODE_ENV=test yarn test
Deploy either the api or web bundle to a Heroku dyno:
chmod +x ./deploy.bash && ./deploy.bash help
For example, to deploy the web project:
./deploy.bash web nameless-citadel-98211