This package provides a framework for surveys and questionnaires
Project description
[![Build Status](https://travis-ci.org/CSDTs/Django-pre-post.svg?branch=master)](https://travis-ci.org/CSDTs/Django-pre-post)[![Updates](https://pyup.io/repos/github/CSDTs/Django-pre-post/shield.svg)](https://pyup.io/repos/github/CSDTs/Django-pre-post/)
# Django-pre-post
This Django app provides the ability to create pre-post questions and answers. It was developed by the CSDTs team at RPI to embed pre-post tests for students in their website and to ease data collection.
# Installation & Integration
## Download and install:
Either use pip in terminal: `pip install django_pre_post`
Or add django_pre_post to your requirements / libraries file and run `pip install -r requirements.txt`
## Add the application to your site:
Include it in settings.py
```
INSTALLED_APPS = (
... your apps here ...
'django_pre_post',
)
```
Include it in URLS.py
```
urlpatterns = [
... your pages here...
url(r'^questionnaire/', include('django_pre_post.urls')),
]
```
# Testing
## Prerequisites
* VirtualBox
* Linux: sudo apt-get install virtualbox
* Windows & Mac: https://www.virtualbox.org/wiki/Downloads
* Vagrant
* Linux: sudo apt-get install vagrant
* Windows & Mac: https://www.vagrantup.com/downloads.html
* Git
* Linux: sudo apt-get install git
* Windows & Mac: https://git-scm.com/downloads
* For windows Make sure C:\Program Files\Git\usr\bin [is in your path variable](http://www.computerhope.com/issues/ch000549.htm)
## Setup
```shell
git clone https://github.com/CSnap/Django-pre-post #get the code
cd Django-pre-post
vagrant up #build the system in a virtual machine
vagrant ssh #enter the virtual machine
cd /vagrant
python manage.py runserver 0.0.0.0:8000 #run the server
```
Navigate to localhost:8002/admin/
# Django-pre-post
This Django app provides the ability to create pre-post questions and answers. It was developed by the CSDTs team at RPI to embed pre-post tests for students in their website and to ease data collection.
# Installation & Integration
## Download and install:
Either use pip in terminal: `pip install django_pre_post`
Or add django_pre_post to your requirements / libraries file and run `pip install -r requirements.txt`
## Add the application to your site:
Include it in settings.py
```
INSTALLED_APPS = (
... your apps here ...
'django_pre_post',
)
```
Include it in URLS.py
```
urlpatterns = [
... your pages here...
url(r'^questionnaire/', include('django_pre_post.urls')),
]
```
# Testing
## Prerequisites
* VirtualBox
* Linux: sudo apt-get install virtualbox
* Windows & Mac: https://www.virtualbox.org/wiki/Downloads
* Vagrant
* Linux: sudo apt-get install vagrant
* Windows & Mac: https://www.vagrantup.com/downloads.html
* Git
* Linux: sudo apt-get install git
* Windows & Mac: https://git-scm.com/downloads
* For windows Make sure C:\Program Files\Git\usr\bin [is in your path variable](http://www.computerhope.com/issues/ch000549.htm)
## Setup
```shell
git clone https://github.com/CSnap/Django-pre-post #get the code
cd Django-pre-post
vagrant up #build the system in a virtual machine
vagrant ssh #enter the virtual machine
cd /vagrant
python manage.py runserver 0.0.0.0:8000 #run the server
```
Navigate to localhost:8002/admin/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django_pre_post-1.1.0.tar.gz
(9.7 kB
view details)
File details
Details for the file django_pre_post-1.1.0.tar.gz
.
File metadata
- Download URL: django_pre_post-1.1.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98ade16f9ef3a3536cc0ab269af66432f9edc8d1bcb6aaee72bfc06b4c6fa378 |
|
MD5 | 447794d19298916e6ac22a4aa4d32ba7 |
|
BLAKE2b-256 | ffde42134f784fc99cb662b01fbe7563ab7c9ace63f98efe5d3b7b0fa49e6b78 |