Giter Site home page Giter Site logo

zakharoff / udem-rails Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.71 MB

Platform for creating courses on Ruby on Rails

Home Page: https://udem-rails.herokuapp.com

License: MIT License

Ruby 66.49% JavaScript 5.19% SCSS 1.48% HTML 5.78% Haml 21.06%

udem-rails's Introduction

Udem-rails

https://udem-rails.herokuapp.com (the site may take a long time to open, because uses the free option on heroku)

A simple platform for creating courses with lessons and the ability to take them. For sell coursess using payments - stripe, but still can make free couses.

Build with Ruby on Rails 6.

More Screenshots

Main options

  • Sign in with devise (including OAuth: Google, GitHub)
  • User roles: admin, teacher, student
  • Create course
  • Create lessons
  • Create comments for lessons
  • Create review for course
  • Create tags for course
  • Search and sorting courses
  • Buy course with stripe
  • Student get pdf Certificate when completed course
  • Approve/unappruve curses by admin
  • Statistics of pays
  • Analytics for pyas, registratios, etc.
  • Log of Activity on platform
  • Profile of user
  • Upload files with AWS S3 (commented for economy heroku hosting)
  • Paste emembed video from Youtube
  • Dynamic title for pages
  • Google analytics
  • Sitemap generator
  • Bootstrap 4 layout

Install

Clone the repository

$ git clone [email protected]:romka69/udem-rails.git
$ cd udem-rails

Check your Ruby version

$ ruby -v

The ouput should start with something like ruby 2.7.1

If not, install the right ruby version using rvm (it could take a while):

$ rvm install 2.7.1

Install dependencies

Using Bundler and Yarn:

$ bundle
$ yarn

Set environment variables

Using Rails credentials. Remove file config/credentials.yml.enc, then make

$ EDITOR=nano rails credentials:edit

complete with the openned file as in the example config/credentials.sample

Initialize the database

$ rails db:create db:migrate db:seed

Developing

$ rails s

Deploy with Heroku

Push to Heroku production remote:

$ git push heroku

Screenshots

If screenshots are not displayed, then they were removed by the hosting. Screenshots are duplicated in the folder . /screenshots

Main page

Courses page

Course page

Lesson page

PDF Certificate

Users page

User page

Pays page

Activity logs page

Analytics page

Privacy page

Generated erd schema

udem-rails's People

Contributors

zakharoff avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.