Make sure you have node version 6.11.0. You can manage node versions with nvm if you already have node and npm. Otherwise, download node and npm. You can check your node and npm versions by running node -v and npm -v.
Once you have a valid version of node, npm install in the root project directory to download the project's dependencies and its flow-compatible counterparts.
Acquire a .env and a config file from a WildHacks team member, or email [email protected], and place it in the root of the project.
Local development
Database
You'll need mysql. They have pretty good setup instructions.
- If you use a Mac and want the absolute no-hassle installation, first install Homebrew and then follow these instructions.
Add Sequelize CLI npm i -g sequelize-cli
Run npm run db:create to create your local database and run the table migrations in migrations/.
Ensure that the database was created by signing into your mysql account.
- mysql -u <username> -p
Running
To run locally, npm run start:dev to transpile the source to build/ and start a local web server.