Code Monkey home page Code Monkey logo

miniipip_test's Introduction

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: '[email protected]'
   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)

miniipip_test's People

Contributors

micheledinanni avatar bateman avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.