piotrantosz / Cyfrowa-szkola

Django application which allows multiple users (students) to share their projects and create their online portfolio.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cyfrowa szkoła sukcesu

Demo

Visit website at http://cyfrowa-szkola.eu

VEDIUS branch is avaible at http://cyfrowa-szkola.net

In the feature, this two branches will be marged into one, main project.

Django application which allows multiple users (students) to share their projects and create their online portfolio.

Using Social Accounts validation (allauth - Google, Facebook and local accounts), CKEditor for modyfing projects content and more.

Requirements

pip install -r requirements.txt

npm install

  • gulp-cli
  • gulp
  • gulp-sass
  • gulp-autoprefixer

gulp build

Configuration

To configure Facebook and Google authentication generate ID's and secret keys.

To configure ReCaptcha:

  • Get a public key and private key from https://www.google.com/recaptcha/intro/index.html

  • Add following lines to settings.py:

      RECAPTCHA_PUBLIC_KEY = 'MyRecaptchaKey123'
      RECAPTCHA_PRIVATE_KEY = 'MyRecaptchaPrivateKey456'
    
  • Wherever you need a Captcha, add a field to the form:

      from captcha.fields import ReCaptchaField
      captcha = ReCaptchaField()
    

Admin panel

  • Sites - remove example, add your site
  • Social Applications - add social ID's, Key's and relate to site

What we are using

Static files

Static files root is static_cdn to generate them:

python manage.py collectstatic

Project URL's

projects/ - list of uers with projects

  • /user/id - user detail (with his projects)
  • /slug - project detail
  • /create - create project
  • /slug/edit - edit project

About

Django application which allows multiple users (students) to share their projects and create their online portfolio.


Languages

Language:HTML 46.2%Language:CSS 35.8%Language:Python 17.7%Language:JavaScript 0.3%