Git Product home page Git Product logo

class-cloud's Introduction

waffle

Class Cloud

About

Class Cloud is a course management software application designed for ease of use and ubiquity across all modern web capable devices i.e. Desktop Browsers, Tablets, and Phones.

The Setup before you start coding

  1. Install virtualenv

    In debian this is done via:

    sudo apt-get install python-virtualenv
    
  2. Clone this repository

  3. cd into the Class-Cloud folder

  4. create a virtualenvironment

    In debian this is done via:

    virtualenv ENV
    
  5. type the following in the command line:

    source ENV/bin/activate
    
  6. you should install django via pip:

    pip install django
    pip install django-registration
    pip install django_extensions?
    pip install django-bootstrap-form
    

Setting up mail server for email based registration

In ubuntu

  1. sudo apt-get install postfix mailutils
  2. sudo touch /etc/postfix/generic
  3. sudo touch /etc/postfix/sasl/passwd
  4. cd /etc/postfix
  5. sudo vim main.cf
  6. sudo postmap generic
  7. sudo vim sasl/passwd
  8. sudo postmap sasl/passwd
  9. chown root.root sasl/passwd.db
  10. chmod 600 sasl/passwd sasl/passwd.db
  11. sudo /etc/init.d/postfix restart

main.cf:

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname = orbital-command
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = orbital-command, localhost.localdomain, localhost
relayhost = [smtp.gmail.com]:587
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = loopback-only
inet_protocols = all
smtp_tls_loglevel=1
smtp_tls_security_level=encrypt
smtp_sasl_auth_enable=yes
smtp_sasl_password_maps=hash:/etc/postfix/sasl/passwd
smtp_sasl_security_options = noanonymous
smtp_generic_maps=hash:/etc/postfix/generic

generic:

tom@localhost [email protected]
root@localhost [email protected]
[email protected] [email protected]

sasl/passwd:

[smtp.gmail.com]:587 [email protected]:=NOT_TELLING!!!

Other things installed

Acknowledgements

Class-Cloud makes heavy use of front-end frameworks, plugins, and themes.

django-bootstrap-form

Using django-bootstrap-form to stylize model based form fields

https://github.com/tzangms/django-bootstrap-form

jquery-ui-bootstrap

Using jquery-ui-bootstrap's custom theme to style the jQuery datepicker widget

  • jquery-ui-1.8.16.custom.css
  • jquery.ui.1.8.16.ie.css
  • images/*

https://github.com/addyosmani/jquery-ui-bootstrap

See stuff installed via pip for more libraries/frameworks/code

django-registration

Made the following modification so that registered users are added to the student group:

in ENV/lib/python2.7/site-packages/registration/models.py I added the following:

def create_inactive_user
    ...
    new_user = User.objects.create_user(username, email, password)
    new_user.is_active = False

  + student = Group.objects.get(name='Student Users')
  + new_user.groups.add(student)

    new_user.save()
    ...

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.