Comments (15)
- Create a new cloud9 instance
- Clone the repository and upload all files into your workspace
- Open console (View -> Console)
cd ~/<idOfYourWorkspace>
npm install
cd
mkdir data
echo 'mongod --bind_ip=$IP --dbpath=data --nojournal --rest "$@"' > mongod
chmod a+x mongod
nohup ./mongod &
Finally we have to setup a run script:
cd ~/<idOfYourWorkspace>
echo -e " PORT=8000 \ FACEBOOK_CLIENTID=1 \ FACEBOOK_CLIENTSECRET=1 \ TWITTER_CLIENTID=1 \ TWITTER_CLIENTSECRET=1 \ FOURSQUARE_CLIENTID=1 \ FOURSQUARE_CLIENTSECRET=1 \ GITHUB_CLIENTID=1 \ GITHUB_CLIENTSECRET=1 \ RUNKEEPER_CLIENTID=1 \ RUNKEEPER_CLIENTSECRET=1 \ FITBIT_CLIENTID=1 \ FITBIT_CLIENTSECRET=1 \ node bin/reportr.js run --mode=all &" > run.sh
chmod +x run.sh
./run.sh
You can open your reportr instance:
https://reportr-c9-frdmn.c9.io/
from dashboard.
Thank you so much!
from dashboard.
You’re welcome! :)
from dashboard.
Good to see my script proved to be useful! Nice work on C9!
from dashboard.
Unfortunately, all I get is "No App Running" What should I do?
from dashboard.
Can you give us some output of your console?
Should look something like this:
frdmn@reportr:~/700304 (master) $ ./run.sh
[log][database] Connection to mongodb://localhost/reportr ...
[log][database] Open on mongodb://localhost/reportr
[log][queue] start queue
[log][trackers] register tracker chrome
[log][trackers] register tracker facebook
[log][trackers] register tracker foursquare
[log][trackers] register tracker twitter
[log][trackers] register tracker github
[log][trackers] register tracker runkeeper
[log][trackers] register tracker fitbit
[log][api] register api auth
[log][api] register api data
[log][api] register api models
[log][api] register api events
[log][api] register api trackers
[log][api] start api server
[...]
[log][web] Server is listening on port 8080
Cloud9 Your application is running at https://reportr-c9-frdmn.c9.io
from dashboard.
I get this...
"./run.sh: line 1: FACEBOOK_CLIENTID=1419328741635292: command not found"
from dashboard.
Nevermind I got it, but how do you stop it running?
from dashboard.
Focus the terminal and just kill the process with CTRL + C
.
from dashboard.
Ok, thanks! :)
from dashboard.
Sadly :( I can not get Facebook, Twiter, Foursquare and the others set up... When I click on them nothing happens...
from dashboard.
You need to set the 'FACEBOOK_CLIENTID=1 \ FACEBOOK_CLIENTSECRET=1' etc. Right now they are just the number '1' which of course is fake.
Here is a description on how you get these.
from dashboard.
@dirkk0 he already set them apparently at least it looks like that according to this comment.
@postrr Any console output as soon as you click on them?
Edit: i just tried to reproduce the problem and experienced the same problem. Not sure how to fix that since we don't have any stderr logs at all. I suggest you just set up a reportr instance on Heroku. Its free as well, at least if you run it with only one web dyno.
from dashboard.
So how would you install it on Heroku? With out entering a credit card.
from dashboard.
Clone the repository, and then follow the instructions here and then this one to deploy. Because you run the application with only one web worker/dyno, you wont get charged by Heroku. If you run into some problems, use heroku logs -t
to get the latest log files of your instance.
Also, please close this issue since its not really related to it anymore.
from dashboard.
Related Issues (20)
- node_modules should be included in repository
- Add actions to enable/disable alerts
- Install not clear RHEL6 HOT 2
- Translations in french, ...
- No events in New Visualization HOT 3
- License? HOT 1
- not authorized for query on Histryreportr.reports HOT 1
- Serial to Reportr HOT 2
- No new events added - Need: type HOT 5
- Ripe Atlas probe for internet mesurement via API
- Documentation needed: How are Reports different from Visualizations? HOT 1
- CORS headers not sent
- MYSQL Support HOT 1
- Compress and gzip static assets
- Manage multiple users
- Installation guide HOT 6
- Can't visualize data
- Website now links to site about WordPress plugins
- How to I parse and Display JSON data from event in a report HOT 1
- is www.reportr.io hacked? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dashboard.