Skip to content

ymichael/modivle

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MODIVLE source

Application is hosted on github pages!

Overview

  • The app uses localstorage to manage state, allowing it to be deployed on github pages.
  • gulp is use as the build tool
  • react is used in the view layer.
  • browserify is used to package the various source files.
  • less is used to manage the stylesheets.

Running the app

This builds the various assets, starts a webserver in the root directory and opens localhost:8000.

$ gulp dev

It automatically watches for changes and rebuilds the assets.

Setting up the development environment

  1. Install gulp, browserify
  2. Install dependencies: npm install
  3. Run gulp dev (to start webserver).
  4. Run gulp min to generate minified assets for production.

See gulpfile.js for other tasks.

Sessions

The code for user sessions can be found in javascript/auth.js.

This file is included at the top of both welcome.html and index.html so that we don't download the rest of the page if we need to redirect the user to the correct location.

Contributions

  • Feedback, Bugs, Contributions are most welcomed!