Simple Django application to handle all data from a classroom and his students.
- Python 2.7.x
- Pip
- Virtualenv and Virtualenvwrapper
- SQLite or any DB supported by Django.
Clone the repo
✗ [email protected]:maxicecilia/simple_classroom.git
✗ cd simple_classroom
Create and setup virtualenv (change paths to your convenience)
✗ mkvirtualenv classroom
✗ echo 'cd ~/code/simple_classroom' >> $WORKON_HOME/classroom/bin/postactivate
✗ echo 'export DJANGO_SETTINGS_MODULE=simple_classroom.settings' >> $WORKON_HOME/classroom/bin/postactivate
✗ echo 'unset DJANGO_SETTINGS_MODULE' >> $WORKON_HOME/classroom/bin/postdeactivate
✗ workon classroom
✗ pip install -r requirements.txt
✗ django-admin.py migrate
✗ django-admin.py collectstatic
✗ django-admin.py runserver 0.0.0.0:8000
Run this and follow the instructions
✗ django-admin.py createsuperuser
Use http://localhost:8000/admin/ to access the admin interface
Run this to load some!! (only ES data available)
✗ django-admin.py loaddata scripts/data/initial_data.json