Skip to content

trash/downcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jan 3, 2021
9d353af · Jan 3, 2021
Jan 3, 2021
Jan 3, 2021
Jan 3, 2021
Jan 24, 2015
Sep 13, 2014
Sep 13, 2014
Sep 13, 2014
Jan 19, 2015
Jan 24, 2015
Jan 3, 2021
Sep 13, 2014
Jan 3, 2021
Jan 24, 2015
Jan 24, 2015
Jan 17, 2015
Jan 3, 2021
Jan 3, 2021
Jan 3, 2021
Jan 3, 2021

Repository files navigation

Installing

Prerequisites

  1. Ruby installed (ideally via macports or apt-get)
  2. Compass installed ($ gem install compass)
  3. Install node (with npm). Ideally with macports or apt-get
  4. Install grunt and bower globally via npm ($ npm install -g grunt-cli, $ npm install-g bower)
  5. Install mongodb

"Installing" the App

You'll only need to do this once.

  1. git clone the repo ($ git clone git@github.com:khalilravanna/downcloud.git)
  2. cd into the repo
  3. $ npm install
  4. $ bower install / $ bower update

Serving the app

You'll do this every time you want to start the app.

  1. Make sure $ mongod is running a tab on the command line or as a daemon somewhere
  2. $ grunt serve (from inside the repo dir)

Building/Push To Heroku

Prerequisites

  1. Heroku toolbelt
  2. Heroku permissions and stuff set up. Head on over here for that. It'll prolly tell you do $ heroku login and some other stuff. You should do that.

First Time Setup

  1. From the main repo directory run $ grunt heroku. This will build everything into a directory insdie the main directory called dist.
  2. Next we need to hook up this build directory, dist, with the heroku repo. To do this, first cd into dist and then run $ git init. This initializes a new git repo just for pushing to heroku. Hook it up to heroku by adding heroku as a remote $ git remote add heroku git@heroku.com:downcloud.git.
  3. Add our build stuff and commit it. $ git add -A and $ git commit -m "V 1.33.7 push".
  4. Now we're ready to push to heroku. Just run $ git push heroku master.

Every Time After That

Just repeats steps 1-4 without setting up the remote business. More explicitly:

  1. From the main repo directory $ grunt heroku
  2. $ cd dist
  3. $ git add -A && git commit -m "your detailed commit message here"
  4. $ git push heroku master