Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erikwittern/momentum
Client for momentum
https://github.com/erikwittern/momentum
Last synced: about 2 months ago
JSON representation
Client for momentum
- Host: GitHub
- URL: https://github.com/erikwittern/momentum
- Owner: ErikWittern
- Created: 2016-05-07T17:25:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-05-08T12:48:36.000Z (over 8 years ago)
- Last Synced: 2024-10-06T01:21:38.961Z (3 months ago)
- Language: JavaScript
- Size: 1.66 MB
- Stars: 1
- Watchers: 4
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# momentum
## front-end
Client for momentum
Created at TechCrunch Disrupt NY 2016.Install dependencies:
npm install
Run Webpack in observe-mode
webpack --progress --colors --watch
It will create `bundle.js` and `bundle.js.map` files in `assets`, which are referenced from `index.html`. Furthermore, it will observe the file-system and update these files on every change.
Then just open `index.html` in the browser.
## rails
# reset the database
source .env
rake db:drop && rake db:create && rake db:migrate && cd util && ruby load.rb## docker
Bluemix
# login and copy env variables
cf ic login# build images
bash build.sh# run the app
source .env
docker-compose -f docker-compose.yml -f docker-compose-ic.yml up -dDocker Toolbox
# set env variables
eval $(docker-machine env default)# build images
bash build.sh# run the app
source .env
docker-compose run --rm -e RAILS_ENV=production momentum rake db:create
docker-compose run --rm -e RAILS_ENV=production momentum rake db:migrate
docker-compose -f docker-compose.yml up