Code Monkey home page Code Monkey logo

openeddi3's Introduction

OpenEddi

OpenEddi is a next-generation data collection software package. It was born out of the need to collect the wide range of complex social network data. But these needs have created a concept which will collect a nearly endless variety of different data.

Version 0.0.2

  • Data export is implemented
  • Alter interpreters are implemented
  • Planning a few different options for collecting alter-alter ties
  • There is some framework built for designing / editing pools, but it is far from complete

Installation

System dependencies On a clean install of Ubuntu, this is how an install goes.

First install Node.js and NPM:

sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install nodejs-legacy
sudo apt-get install npm

OpenEddi uses PostgreSQL:

sudo apt-get install postgresql

Git isn't really necessary but it's helpful when you try to fetch and update the software.

sudo apt-get install git

Screen isn't in Ubuntu by default (why not!?) but it's incredibly useful when launching OpenEddi and then returning to it.

sudo apt-get install screen

Now install bower, which we'll need for installing the other dependencies.

sudo npm install bower -g

Database

Set up the database and database user. Create a user and password. The username and password for the database can be changed in the config file for OpenEddi if you don't want to use the u/p here.

sudo -i -u postgres
createuser openeddi

Then enter postgres and create a database and create a user entry.

psql
create database openeddi;
alter user openeddi password 'openeddi';
\q

Now exit the postgres user.

exit

Install OpenEddi

Pull the openeddi software from the repository and pull all the necessary libraries.

git clone https://github.com/jfaganUK/openeddi3.git
cd openeddi3
sudo npm install

Installing the NPM dependencies (mostly server dependencies) will take a bit. Then go into the main OE folder and run the client dependencies.

cd oe/
bower install

Configure the Log File

This is the config file for OpenEddi is located in ./oe/config.json.

{
  "db": {
    "forceSync": false,
    "database": "openeddi",
    "username": "openeddi",
    "password": "openeddi"
  },
  "adminAccount": {
    "username": "admin",
    "password": "changeThisPassword",
    "email": "[email protected]",
    "firstName": "Admin",
    "lastName": "McAdmin"
  },
  "appPort": 4444
}

The first part is the database settings. If forceSync is true it will completely wipe the database. This can be useful on occasion but there is no confirmation before you use it. Only use it when you need to clear out the database for some reason.

It is recommended that you change the default admin password.

The appPort changes the port that the server listens on. If you have multiple instances of OpenEddi running (as I sometimes do) you may need to run them on different ports.

Launching OpenEddi

Now that OpenEddi is installed and configured you should be able to launch it using Node.js. Change directory to where OpenEddi is installed and launch using node.

cd ~/openeddi3
node server.js

If you want to create a screen instance and pipe to a log:

screen -S openeddi -L
node server.js

You can then exit the screen without quitting OpenEddi by pressing [CTRL]-[A] then [D]. You can resume the instance by typing:

screen -R openeddi

openeddi3's People

Contributors

jfaganuk avatar rchunt2 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

openeddi3's Issues

Ego Network Survey

Hi,

When I finished my survey, why I did not see any outcomes? or how to see?
In addition, I also could not login in into admin page, the account and password should refer the contents in config.json, right?

Any user manual of your platform? Thanks.

WC

Error

Hi,

Do you know how to fix below issue:

"2 Mar 17:08:25 - [prepareSession] Creating the session store
Possibly unhandled SequelizeBaseError: unrecognized configuration parameter "autocommit"
at Query.module.exports.Query.formatError (/var/www/html/openeddi3/node_modules/sequelize/lib/dialects/postgres/query.js:419:16)
at Query. (/var/www/html/openeddi3/node_modules/sequelize/lib/dialects/postgres/query.js:106:21)
at emitOne (events.js:96:13)
at Query.emit (events.js:188:7)
at Query.handleError (/var/www/html/openeddi3/node_modules/pg/lib/query.js:99:8)
at Connection. (/var/www/html/openeddi3/node_modules/pg/lib/client.js:166:26)
at emitOne (events.js:96:13)
at Connection.emit (events.js:188:7)
at Socket. (/var/www/html/openeddi3/node_modules/pg/lib/connection.js:109:12)
at emitOne (events.js:96:13)
Possibly unhandled SequelizeBaseError: unrecognized configuration parameter "autocommit"
..........

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.