Giter Site home page Giter Site logo

black_mamba's Introduction

Black Mamba

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.

Team

  • Product Owner: Benjamin Baum
  • Scrum Master: Tom Coughlin
  • Development Team Members: Noel Felix, Daniel Ramos

Table of Contents

  1. Requirements
  2. Development
    1. Installing Dependencies
    2. Tasks
  3. Team
  4. Contributing

Requirements

  • 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.

Development

Installing Dependencies

From within the root directory:

$ npm install -g cordova ionic
$ cordova platform rm ios
$ cordova platform add [email protected]
$ ionic browser add [email protected]
$ npm install

Database

Create 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.

Booting the Server

Development:

From the root:

$ npm start (from the root)

Production:

$ node server/server.js

Configuring the Client

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 start automatically runs gulp dev. This can be changed in package.json, or you can simply run your custom gulp task after kicking off npm start.

Launching the Client

From client/:

Desktop Browser:

$ ionic serve -lab

iOS Simulator

$ ionic build ios; ionic emulate ios

Android Emulator

$ ionic build android; ionic emulate android

iOS Device

Xcode

Android Device

$ ionic build android; ionic run android

Adding New Dependencies

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.

Roadmap

View the project roadmap here

Testing

$ npm test

Tests will be run by CircleCI upon submission of a Pull Request.

Contributing

See CONTRIBUTING.md for contribution guidelines.

black_mamba's People

Contributors

bent0b0x avatar dramos12 avatar noelfelix avatar tcoughlin3 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.