Skip to content

Latest commit

 

History

History
97 lines (83 loc) · 2.52 KB

README.md

File metadata and controls

97 lines (83 loc) · 2.52 KB

The Great Puzzle Hunt

An on-line and in person real-time puzzle scavenger hunt!

Development Setup

  1. I recommend you install and start using the ZSH Shell (via the oh-my-zsh project as linked)

  2. Install NVM

  3. Install MongoDB

  4. Install Meteor

  5. 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
  1. Clone the repo
$ git clone [email protected]:kyle-rader/puzzlehunt.git
  1. CD into the repo and install NPM packages
$ cd puzzlehunt/
$ yarn install  # instead of npm install
  1. 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"
  }
}
  1. Run the application using the scripts define in package.json
$ yarn start
  1. In another shell you can connect to the Meteor server with the Meteor shell (much like rails console).
$ meteor shell