Experiment designed and implemented to be performed in WadRas during the performance Veus entre Murs.
This participatory experiment consist on a set of dilemmas presented as behavioural games, four Prisoner's Dilemma, designed to relate participants: (1) random selection, (2) staring eyes, (3) wall in-out, and (4) wall out-in. The selections 3 and 4 are asyncron. All these games are played by 2 individuals.
Not available
Not available
Steps are necessary to get WADRAS install, up and running in local network.
Database MySQL
Create MySQL database: name_db
Create user database: user_db
Create password database: pass_db
Introduce this information about the database in: /WadRas/settings.py
Environment
mkvirtualenv wadras
Requirements
pip install -r requirements.txt
MongoDB
mongod --dbpath /.../wadras/ddbb
Load text
File with text and translations: /.../WadRas/game/i18n/translations.xlsx
python excel\_to\_mongodb.py
Run Server
python manage.py runserver
python manage.py runserver localhost:port
Migrations
python manage.py makemigrations
python manage.py migrate
Step 1: Run MySQL server
Run MySQL: mysql.server start
Step 2: Open terminal tabs and work on the environment
in Tab 1: MongoDB
in Tab 2: MySQL
in Tab 3: Run Application
Work on environment (in each terminal tab): workon wadras
Step 3: Run MongoDB (Tab 1)
Run mongodb: mongod --dbpath /.../WadRas/ddbb
Step 4: MySQL actions (Tab 2)
Directory: cd /.../WadRas/
Database: mysql -u user_db -p (pass_db)
Drop database: drop database name\_db;
Create database: create database name\_db;
Exit: exit;
Modificate fields of database: python manage.py makemigrations
Refresh database:
python manage.py migrate
Step 5: Load texts (Tab 2)
Load translations: python excel_to_mongodb.py
Step 6: Load actions "Wall in-out" (Tab 2)
Load actions: python wadras_prisoners.py
Step 7: Run Server (Tab 3)
Directory: cd /.../WadRas/
Runserver: python manage.py runserver localhost:port
Client application:
http://localhost:port/
Control and Administration:
http://localhost:port/admin
Version 1.0
CitizenSocialLab is licensed under a GNU Affero General Public License
All the contents of Wad-Ras repository are under the license CC BY-NC-SA license
Julian Vicens: julianvicens@gmail.com