Menu

Tree [a9aa88] master /
 History

HTTPS access


File Date Author Commit
 UMCloudDj 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github
 allclass 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github
 django_messages 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github
 organisation 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github
 report_statement 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github
 school 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github
 uploadeXe 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github
 users 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github
 .coverage 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github
 .gitignore 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github
 README.md 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github
 SERVERSTEPS 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github
 git_add_commit.sh 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github
 jenkins-build-umclouddj-server.sh 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github
 manage.py 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github
 releasenotes.txt 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github
 screenlog.0 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github
 umclouddj-server-development-setup.sh 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github
 umclouddj-server-tar-deployment.sh 2014-09-08 Ubuntu Ubuntu [be0999] Initial commit for github

Read Me

Welcome to the Ustad Mobile Cloud Portal for statistics, analytical Course Management System. Code Named- UMCloudDj
This project is based on Django 1.6 and integrates ADL_LRS for more robust reporting along with CMS concepts inspired by Ustad Mobile platform's usage.

Note: this repo itself is not enough to run the server. Follow the steps and it should co-operate on an Ubuntu fresh machine.

To run the server,

There is a build script within this main repository called: umclouddj-server-development-setup.sh

If you clone this project to a folder: UMCloudDj,

copy this script one folder above UMCloudDj, ie:

git clone https://github.com/UstadMobile/UMCloudDj-Code.git UMCloudDj

cd UMCloudDj

cp umclouddj-server-development-setup.sh ../

cd ../

You might need to make this script executable:

chmod a+x umclouddj-server-development-setup.sh

Run the script as an example like so:

./umclouddj-server-development-setup.sh "bobtheadmin" "!t$r@|30|3$W0r!|]" "blah" "blah" "secretkey10212wdsda><?:<>!@%" "postgresumcloud" "postgresumcloudpassword"

The usage for this script is:

Usage: .sh <Super username> <password> <wordpress pass> <um pass> <secret key> <postgres user> <postgres password

Ex:    .sh bobtheadmin "!t$r@|30|3$W0r!|]" worddpass umtestpass "secretkey_10212wdsda><?:<>!@%*%$" postgresumcloud "postgresumcloudpassword"

Super username> This will be the super admin of the django projet.

passwordr> Super admin's password

wordpress pass> Internal usage. Set to "blah"

um pass> Internal usage. Set to "blah" or anything else.

secret key> This is a random key that should be secret only to you. Can be long and have special characters. Make sure it is in quotes. This is a django specific secret key. Read more about secret keys in Django's docs.

postgres user> UMCloudDj stored data in postgres. This is the username that will be updated in the project settings. Make your own username and these credentials should not be shared. Admin use.

postgres pass> This is the password for the database that UMCloudDj uses. It will be updated in the projects' settings file.

Once this script runs successfully, cd in to the project directory:

cd UMCloudDj/

and run this command to run the server in development mode.

$ python manage.py runserver

The server will run on 127.0.0.1 over port 8000 or you can specify the port and IP after runserer.

or:

$ python manage.py runserver 0:8004 # runs in 8004 port

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.