Skip to content
/ knov Public

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

License

Notifications You must be signed in to change notification settings

iGitScor/knov

Repository files navigation

Knov

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

npm node

Installation

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

# Install project NPM dependencies:
yarn 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) 2016 FlipFlop Crew

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published