Code Monkey home page Code Monkey logo

citizensociallab / consciencies Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 10.39 MB

Participatory experiment, performed in the Biennal Ciutat i Ciència (Barcelona) and the citizen science festival Calidoscopi (Barcelona), that consist on a set of dilemmas to study how we behave in front of a situation of gender-based violence in public spaces. Natalia, Alex, Raquel and Sandra tell us situations lived in public spaces and participants have to decide to what extent do they intervene to alleviate the situation.

License: GNU Affero General Public License v3.0

Python 44.07% CSS 27.79% JavaScript 3.89% HTML 24.24%
social-dilemmas behavioural-games participatory-experiments action-research art-science-technology

consciencies's Introduction

README

CitizenSocialLab: consCIENCIES

Experiment designed and implemented to be performed in Biennal Ciutat i Ciència and the citizen science festival Calidoscopi.

This participatory experiment consist on a set of dilemmas that study how we behave in front of a situation of gender-based violence in public spaces. Natalia, Alex, Raquel and Sandra tell us situations lived in public spaces and participants have to decide to what extent do they intervene to alleviate the situation.

This experiment is performed in groups of 6 participants.

(c) All Rights Reserved by Thomas Vilhelm

Data

Not available

Derived Scientific Publications

Not available

Configuration

Steps are necessary to get consCIENCIES install, up and running in local network.

Creation of the project

Database MySQL
Create MySQL database: name_db
Create user database: user_db
Create password database: pass_db

Introduce this information about the database in: /consCIENCIES/settings.py

Environment
mkvirtualenv consciencies

Requirements
pip install -r requirements.txt

MongoDB
mongod --dbpath /.../consCIENCIES/ddbb

Load text
File with text and translations: /.../consCIENCIES/game/i18n/translations.xlsx

python excel_to_mongodb.py

Run Server
python manage.py runserver localhost:port

Migrations
python manage.py makemigrations
python manage.py migrate

Run project in Local

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 consciencies

Step 3: Run MongoDB (Tab 1)
Run mongodb: mongod --dbpath /.../consCIENCIES/ddbb

Step 4: MySQL actions (Tab 2)

Directory: cd /.../consCIENCIES/
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: Run Server (Tab 3)
Directory: cd /.../consCIENCIES/
Runserver: python manage.py runserver localhost:port

Access client

Client application:
http://localhost:port/

Control and Administration:
http://localhost:port/admin

Versions

Version 1.0

License

CitizenSocialLab is licensed under a GNU Affero General Public License

All the contents of consCIENCIES repository are under the license CC BY-NC-SA license

Contributors

Julián Vicens

Contact

Julian Vicens: [email protected]

consciencies's People

Contributors

jvicens avatar

Watchers

 avatar

Forkers

jvicens

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.