A hilarious multiplayer guessing game. Built with Ionic for iOS and Android.
For an overview of how this game is played, please see the rules.
- Product Owner: Benjamin Baum
- Scrum Master: Tom Coughlin
- Development Team Members: Noel Felix, Daniel Ramos
- Node 0.12.x or >= 4.3
- Postgresql >= 9.4.6
- Ionic >= 1.7.14
Important: Before you can get started with Cordova Android or iOS dev, you must set up your workstation in accordance with the Cordova Android and iOS platform guides.
From within the root directory:
$ npm install -g cordova ionic
$ cordova platform rm ios
$ cordova platform add ios@4.1.0
$ ionic browser add crosswalk@12.41.296.5
$ npm installCreate your database:
# CREATE DATABASE thesis;By default, Black Mamba will connect to the thesis database on localhost. An alternate database url can be set via process.env.DATABASE_URL.
Upon booting the server for the first time, your schema will be created and all migrations will be run.
From the root:
$ npm start (from the root)
$ node server/server.js
The client can be set up to connect to different servers, and this configuration is managed by gulp. To connect to localhost, run gulp dev. Follow the model in appsettings.js (in the root directory) and gulpfile.js to add your own urls/corresponding gulp tasks to connect to another server.
All api calls to the black mamba server from the client must use Config.api as the base url.
Important:
npm startautomatically runsgulp dev. This can be changed inpackage.json, or you can simply run your customgulptask after kicking offnpm start.
From client/:
$ ionic serve -lab
$ ionic build ios; ionic emulate ios
$ ionic build android; ionic emulate android
Xcode
$ ionic build android; ionic run android
Server and database dependencies should be installed with npm from the root. Client-side dependencies should be installed with npm or bower from the client directory.
View the project roadmap here
$ npm test
Tests will be run by CircleCI upon submission of a Pull Request.
See CONTRIBUTING.md for contribution guidelines.