sschadwick / knov

Real-time culture sharer using Firebase as its backend and AngularJS on the frontend.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Knov

A real-time culture sharer using Firebase as its backend and AngularJS on the frontend.

Installation

# Install global NPM dependencies:
npm install -g gulp bower jshint recess

# Install project NPM dependencies:
npm install

Contributing

# You may want to install the development
# dependencies (above) to make your life easier.
# Once it is done, just run:
gulp work

This command will:

  • Launch an express instance to serve the files
  • Launch the app in your favorite browser
  • Watch for file modification and automatically compile / refresh your browser

Another option if you don't want to bother installing node & npm:

# Just use a simple static file server like:
cd source/
python -m SimpleHTTPServer 4000
# Then go to http://localhost:4000/

Troubleshooting

The main project dependencies are:

  • git to contribute to the code base
  • node (+ npm) to build the project

You also need a web server to serve the static files. Fortunately, there is one included in the gulp build file.

To get up and running behind a corporate proxy, you'll have to:

  • npm config set proxy http://proxy.company.com:8080
  • npm config set https-proxy http://proxy.company.com:8080
  • export HTTP_PROXY=http://proxy.company.com:8080
  • export HTTPS_PROXY=http://proxy.company.com:8080
  • There also is an equivalent parameter for Windows: SET HTTP_PROXY=http://proxy.company.com:8080
  • Note that npm install -g must be ran with administrative privileges (sudo or Windows equivalent)

Deployment

Knov only contains static files, it can thus be deployed everywhere static files can be served (S3, EC2, Dropbox, GitHub Pages, Heroku, etc).

Testing

The testing environment is currently hosted on Firebase Hosting (beta).

# Install the Firebase Command Line Tools
npm install -g firebase-tools

# Build the project
gulp build

# Run the firebase deploy command
firebase deploy

# Voilà, you can go to
# https://scorching-fire-6383.firebaseapp.com/
# to access the running app.

Production

The production environment is hosted [on GitHub Pages](http://knov.trgdy.com/).

# Build the project
gulp build

# Run the deploy command
gulp deploy

# Voilà, you can go to
# http://knov.trgdy.com/
# to access the running app.

Credits

Copyright (c) 2014 FlipFlop Crew

About

Real-time culture sharer using Firebase as its backend and AngularJS on the frontend.

License:MIT License


Languages

Language:JavaScript 54.3%Language:CSS 30.8%Language:HTML 14.9%