An open source LMS (eLearning platform) for MOOCs and online courses (like Tutellus.com or Udemy.com with extra features). Tech stack includes PWA & SPA with Facebook's React, Google's Firebase and Slack API
Clone or download
Joan Mira
Latest commit 03741b8 Sep 2, 2017

readme.md

Nekomy. An open source LMS (eLearning platform) for MOOCs and online courses

Build Status License: GPL v2 Slack Group

The project is currently under development, with continuous changes and some bits and bobs not working. Feel free to test it if you like but don't expect it to be production-ready. If you are interested in contributing, please join the Slack group and have a look at the project backlog to see if you can pick something up.

New project's website (under construction): https://nekomy.com

Old Demo website with content: https://hypatia-8d923.firebaseapp.com (Sign up with a valid email is required to access some pages)

Old project's website: https://nekomy.github.io/nekomy-platform/

Home

Page

Admin

Getting Started

Warning! This documentation is not super stable. Post an issue if you find any trouble or something is not clear

npm install
  • Create a new project in your Firebase account

  • Enable at the Email/Password provider in the Firebase authentication providers

  • Create a file called .env in the root of your cloned repository and add the following code. Replace the values with the ones from the project you created in Firebase:

FIREBASE_API_KEY=your_firebase_api_key
FIREBASE_AUTH_DOMAIN=your_firebase_project.firebaseapp.com
FIREBASE_DATABASE_URL=https://your_firebase_project.firebaseio.com
FIREBASE_STORAGE_BUCKET=your_firebase_project.appspot.com
  • Update the default project value in .firebaserc

  • If you want some demo data, import /data/demo-data.json into your Firebase database

  • If you are going to use Firebase storage, you should give read access to everyone, otherwise only the authenticated users will be able to download images or files. In your Firebase console, replace the rules with these ones:

allow read: if true;
allow write: if request.auth != null;
  • To give a user admin rights, you have to add a field called level with the value 5 into a user (using the firebase UI). Once you do that, login into Nekomy with that user and you will see the admin link in the sidebar navigation

Start development server with hot reloading

npm run dev

Testing

Run test once

npm run test

Test watch

npm run test:watch

Linting

Linting is using Airbnb Eslint configuration

npm run lint

Deploy to production

Build for production

npm run build

Install Firebase tools (if you haven't done it yet)

npm install -g firebase-tools

Login and init the project

firebase login
firebase init

Deploy to Firebase

firebase deploy

Contributor License Agreement

By contributing your code to Nekomy you grant to the repository owner a non-exclusive, irrevocable, worldwide, royalty-free, sublicenseable, transferable license under all of Your relevant intellectual property rights (including copyright, patent, and any other rights), to use, copy, prepare derivative works of, distribute and publicly perform and display the Contributions on any licensing terms, including without limitation: (a) open source licenses like the MIT license; and (b) binary, proprietary, or commercial licenses. Except for the licenses granted herein, You reserve all right, title, and interest in and to the Contribution.

You confirm that you are able to grant us these rights. You represent that You are legally entitled to grant the above license. If Your employer has rights to intellectual property that You create, You represent that You have received permission to make the Contributions on behalf of that employer, or that Your employer has waived such rights for the Contributions.

You represent that the Contributions are Your original works of authorship, and to Your knowledge, no other person claims, or has the right to claim, any right in any invention or patent related to the Contributions. You also represent that You are not legally obligated, whether by entering into an agreement or otherwise, in any way that conflicts with the terms of this license.

The repository owner acknowledges that, except as explicitly described in this Agreement, any Contribution which you provide is on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.

Credits

Icons from Flaticon.com (Freepik and Madebyoliver), triangles background by rvika from Fotolia and photos from Google Creative Commons search results

Copyright & License

Copyright (c) 2016-2017 Nekomy - Released under the GPLv2 license.