Coder Social home page Coder Social logo

reboot's Introduction

Waffle.io - Columns and their card count

Travis CI Status

Reboot

Reboot is an ionic application that assists verterans reintegrate into civilian life by assisting them and providing information and resources along the way.

Getting Started

Reboot is an ionic project using typescript. The backend API uses MongoDB as a data source for a loopback api server. The corresponding backend server can be found at:

https://github.com/SoftStackFactory/reboot-backend

Prerequisites

To begin make sure node and npm are installed. Please make sure latest Node 6 LTS and NPM 3+ are installed. In addition, make sure that you have Ionic CLI installed locally. This project was uses Ionic 3.x.

npm install -g ionic

Installing

Clone the remote repository

git clone https://github.com/SoftStackFactory/reboot

From within the reboot directory, run npm install to install all dependencies.

npm install

Once that completes, use ionic serve to get a local copy running

ionic serve

This should deploy the an instance of the app running locally at:

http://localhost:3000/

Branches

Reboot employs a release branch methodology for maintaining our branches. When working with new branches, create branches off of dev only.

master - Current release working production branch

dev - Next release development branch

Whenever you pick up working on the application, make sure that you fetch the current state of the application. This can be done by using the command:

git pull

Then, you'll need to checkout a branch to work from. Most of the time it will be dev:

git checkout -b [123-my-branch-name] origin/dev

For branch names, please use [issue number]-[my-branch-name]. For example, if I was working off of an issue # 4 for a feature to add a menu, I would name my new branch 4-new-menu.

Try to make sure the branch name is a good description of what you're working on. Avoid nonsensical naming conventions.

Committing Changes

When you've completed changes on your branch, you can publish the branch to the repo. Always make sure that your commit messages have a concise title.

If you need to go into more detail, please use a longer commit message to list out changes.

A good example of commit messages can be found here.

git commit -m 'A Git commit message'

Pull Requests

Pull request should have some description of the changes and what features/files or issues it address.

Also list any issues the pull request resolves so that they can be closed out.

Label all finished issues with done and the pull request itself with code review.

Deployment

There will be two deployment scenarios:

Master

This is deployed to Ionic Pro and any changes that get merged into master will be deploy automatically to the view app.

To view the project, download the view application and use the following AppID: 1022DD18.

This will always reflect origin/master.

Dev

This will be a working development branch. The repo admin will have access to this and will deploy it on a regular release schedule.

This will live at the following url: http://ssf-reboot.herokuapp.com/

Locally

You may also deploy to a heroku instance of your own. Within the /reboot/ directory, create a Procfile with the following:

web: npm run build:dev && npm start

Make sure you've logged in:

heroku login

Also make sure the remote is tied to your heroku app that you set up:

heroku git:remote -a my-own-app-name-123

Finally, install the following plugin:

heroku plugins:install heroku-builds

At any point in time, you can push this build up to your own heroku instance without commiting it to git (that way our file system stays intact).

Deploy it using the following command:

heroku builds:create -a my-own-app-name-123

Built With

License

This project is licensed under the MIT License - see the LICENSE.md file for details

reboot's People

Contributors

khoadnguyen avatar iamalx avatar awstin17 avatar phortonssf avatar warreng8 avatar jthk1106 avatar raymondvooo avatar robertlb4 avatar gsod17 avatar brettwray avatar jal040 avatar papasmurf80 avatar colis123 avatar alexringrose avatar benjaminalfred avatar

Watchers

James Cloos 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.