An on-line and in person real-time puzzle scavenger hunt!
-
I recommend you install and start using the ZSH Shell (via the oh-my-zsh project as linked)
-
Install NVM
-
Install MongoDB
-
Install Meteor
-
Use NVM to install
[email protected]
and set an alias for that version as meteor. If you want to use yarn as well install yarn.
$ nvm install 4.4.7
$ nvm alias meteor 4.4.7
$ nvm use meteor
$ npm i -g yarn
- Clone the repo
$ git clone [email protected]:kyle-rader/puzzlehunt.git
- CD into the repo and install NPM packages
$ cd puzzlehunt/
$ yarn install # instead of npm install
- Add a new development settings file called
settings-development.json
{
"public": {
"siteName": "[DEV] Great Puzzle Hunt",
"siteURL": "http://localhost:3000",
"accountsEmail": "Great Puzzle Hunt <[email protected]>",
"infoEmail": "Great Puzzle Hunt <[email protected]>",
"eventYear": "2018",
"eventDate": "Saturday April 14, 2018",
"social": {
"facebook": "https://facebook.com/greatpuzzlehunt"
},
"analyticsSettings": {
"Google Analytics": {
"trackingId": ""
}
}
},
"admin": {
"firstname": "Super",
"lastname": "Admin",
"email": "[email protected]",
"password": "testtest",
"roles": [
"user",
"volunteer",
"player",
"admin"
],
"address": "1234 Cool Street",
"city": "Redmond",
"state": "WA",
"zip": "98053",
"age": 26,
"phone": "1112223333",
"accountType": "VOLUNTEER",
"photoPermission": true,
"holdHarmless": true,
"ecName": "Emergency Contact",
"ecRelationship": "friend",
"ecPhone": "7778889999",
"ecEmail": "[email protected]",
"paid": true,
"ticketUsed": null
},
"accounts": {
"fromEmail": "Great Puzzle Hunt (Dev)<[email protected]>",
"token": "test_token"
}
}
- Run the application using the scripts define in
package.json
$ yarn start
- In another shell you can connect to the Meteor server with the Meteor shell (much like rails console).
$ meteor shell