Skip to content
Repository for the miniIPIP test based on scores from Donnellan's paper.
JavaScript CSS HTML Python Other
Branch: master
Clone or download
Pull request Compare This branch is 4 commits behind micheledinanni:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
miniipip
myproject
static
templates
.gitignore
Dockerfile
README.md
build.sh
db.json
default_email_subject.txt
default_email_text.txt
docker-compose.yml
manage.py
release
requirements.txt
start.sh

README.md

mini-IPIP test

DOI

The mini-IPIP test has been developed to identify the personality of Apache developers, based on this following paper:

Donnellan MB, Oswald FL, Baird BM, Lucas RE(2006). The mini-IPIP scales: tiny-yet-effective measures 
of the Big Five factors of personality. DOI: 10.1037/1040-3590.18.2.192

1. Cloning

$ git clone https://github.com/micheledinanni/miniIPIP_test.git

2.1 DB Configuration

Edit the following configuration file:

  • myproject/cfg/config.yml - mysql database configuration
database:
  server : mysql
  host: localhost
  user: root
  passwd: ****
  db: mini_ipip_db

2.2 Data configuration

To import question and answers into db, run following commands:

  • python manage.py makemigrations miniipip
  • python manage.py migrate
  • python manage.py loaddata db.json

3. Initial email configuration

Edit the following configuration file:

  • myproject/cfg/config.yml - Initial sending email, with setting of host, host user,host port and host password. It has been used the server smtp 'Amazon SES'
email:
   email_from: 'collab.uniba@gmail.com'
   email_host: 'secret'
   email_host_user: "secret"
   email_host_passwd: "secret"
   email_port: secret

4. Change admin password

To change the admin password go into website and paste after website name:

  • /admin Check 'Change Password' on top right,insert previous password and insert your new password. You can take the default password from:
  • myproject/cfg/config.yml
django-admin-default-credentials:
  username: admin
  passwd: collab-uniba

Then save your changes.

5. Send email into admin

To match the token created for every user, use this syntax into the text of email:

  • your-url-site/miniipip?id={0} It is automatically associated a token to take the test.

6. Information

Every e-mail in the admin is sent every 9 seconds
`The display of the progress to sending emails can be viewed every 10 seconds 
  (the page updates automatically every 10 seconds).
You will see a progress bar and a message to know on-time the sending-progress. 

Installation guide

1. $ git clone https://github.com/micheledinanni/miniIPIP_test.git 
2. cd miniIPIP_test
3. virtualenv venv --no-site-packages
4. source venv/Scripts/activate
5. pip install -r requirements.txt
6. Edit file config.yml into this source myproject/cfg/
7. python manage.py runserver (optionally add port)
You can’t perform that action at this time.