Skip to content

CJLamy/learnful

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learnful: Education for Digital Natives

Deployment: Build Status — Chat: Gitter chat — Tasks: Huboard

Free Nodejitsu drone courtesy of their open-source program.

Setting up your development environment

  1. Install NodeJS.

  2. npm install -g grunt-cli bower http-server

  3. Create a new Firebase datastore (suggested name: learnful-dev-<username>).

  4. Set up environment variables in your .bashrc:

     export LEARNFUL_FIREBASE=learnful-dev-<username>
     export LEARNFUL_FIREBASE_AUTH=<secret>

    You can find the auth secret in your Firebase datastore's dashboard, appropriately enough in the "Secrets" section.

  5. Clone the repository onto your machine.

  6. Run the backend code:

     cd learnful/server
     npm install
     node main.js
    

    Leave it running in a separate shell.

  7. Build and run the frontend code:

     cd learnful/client
     npm install
     bower install
     grunt
     http-server
    

    You only need to rebuild if you create or delete files in learnful/client/src, add or remove Bower components, or change the environment variables above. Otherwise, just reload the page.

  8. Build a client distribution:

     cd learnful/client
     grunt dist
     http-server dist
    

    Note that anything committed to master is immediately deployed to production, and that you'll need to sign a Contributor Licensing Agreement before we can accept your pull request.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published