SpellCasters is an educational spelling game. Defeat Lord Zett and his Alphagator minions by spelling words correctly.
##Installation
- Open terminal and clone our repository
git clone [email protected]:SpaceToastCoastToCoast/spell-casters.git
- Enter the cloned repository
cd spell-casters
- Install all dependencies for the repository
npm install
- Create a secret.json in the spell-casters directory
touch secret.json
- Paste the following text into secret.json. The secret should be something difficult to guess--a long keysmash is ideal:
{"secret": "your secret here"}
- Run Postgres on your computer
- Open
sample.config.json
in your preferred text editorsubl config/sample.config.json
- Copy the contents of
sample.config.json
and create a new file within the config directory calledconfig.json
touch config/config.json
- Paste the contents into
config.json
and edit the username value within development - In your terminal, enter into Postgres
psql
- Within Postgres, create a database with a name matching that in your
config.json
e.g.spellcasters
create database spellcasters;
- Sync the database
node server.js
- Once Webpack completes the build, kill the server process
- In the terminal, seed all files
sequelize db:seed:all
- Once all files have been seeded, start the server again
node server.js
- Navigate to
localhost:8080
in your browser to begin playing SpellCasters