twitto_be is a real-time dashboard of geolocated tweets
HTML JavaScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
controller
data
git_submodules
model
persist
public
view
.gitignore
.gitmodules
COPYING.LESSER
LICENSE.md
MIT_LICENSE.txt
README.md
app.js
package.json
params-sample-gr.json
params-sample.json

README.md

Twitto_be

twitto_be is a real-time dashboard of geolocated tweets.

Installation

Twitto.be is a node.js application.

Used ports:

  • 8080: express
  • 3031: socket.io

After cloning the repository, follow these steps

  1. run npm install
  2. Enter your twitter app credentials inside a new file params.json in the root directory. Use params-sample.json to see the expected syntax

Development

run npm start

Production

A deployment script is included, you may need to adapt it to your own setup. Edit the deploy script in package.json to modify the configuration:

  • debian jessie linux machine (may work in other unix environments)
  • The application (app.js) is launched and maintained up by a systemd process called node-twitto
  • The application is deployed in the following directory: /home/srv-node-mango/twitto
  • The owner of /home/srv-node-mango/twitto, is user srv-node-mango
  1. Run npm run build
  2. If no error was met in previous step, run npm run deploy

Contributing

Your participation is welcome.

  • to report bugs, make suggestions or to ask any question, please enter a github issue. Please first perform a search before reporting an issue in order to avoid entering duplicates.
  • to correct issues, improve code, send a pull request. Try to keep your commits clean. If you want to change any significant part of code and want it integrated inside twitto_be, please discuss about it before working on it.