Comments (6)
Take a look at https://github.com/SamyPesse/reportr/blob/master/Procfile-free. Essentially once you've ran npm install
all you need to do is run node bin/reportr.js run --mode=all
.
You will also need to set a few environment variables that are used to configure reportr
(using environment variables is a best practice, to provide flexible configuration at runtime to an app).
You should check out https://github.com/SamyPesse/reportr/blob/master/lib/config/main.js, to see which environment variables reportr
accepts. (Look at variables with this process.env.*
pattern).
reportr
does of course provide defaults for these, but you'll most likely want to override them.
We could set node bin/reportr.js run --mode=all
to the "start" script in the package.json
. But even without it, it's rather obvious IMHO (the environment variable and configuration stuff might be less).
Give that a try, hope it works for you.
PS: I don't actively contribute to reportr
but I'm Samy's co-founder @FriendCode, and reportr
is built following many patterns we use internally so I'm familiar with the overall code structure.
from dashboard.
Thanks for great explanation. I think node bin/reportr.js run --mode=all
should be configured as start script then, at least I don't see how it's obvious (not a word about that in main documentation)
from dashboard.
First of all: thanks @AaronO and @SamyPesse for Reportr! Awesome project.
Then I am with @medikoo on this one, so for other non-herokuans here is a script that gets you started and is working on Amazon EC2/Ubuntu 12.04.
So to just get this running with port 8000 and no credentials at all you can do this:
sudo apt-get install -y mongodb
git clone https://github.com/SamyPesse/reportr.git && cd ./reportr
npm install
make build
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
from dashboard.
👍 @dirkk0 worked for me on ubuntu 12.04
from dashboard.
@missinglink great, thank you!
from dashboard.
Thank you @dirkk0
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.