Nous fournissons des données clés sur le Sénégal
JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 325 commits ahead, 6 commits behind frictionlessdata:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
lib
public
routes
tests
views
.gitignore
.gitmodules
Procfile
README.md
app.js
nohup.out
package.json

README.md

This repo performs a few different purposes:


Installing the App

1. Install dependencies

Requires NodeJS (>= v0.8).

Install the requirements (in package.json):

npm install .

Configure

This is optional - the app will work out of the box with the default configuration (see lib/config.js).

You can configure the app by setting environment variables:

Run the web application

Run the web app locally:

node app.js

If you want to do a deployment to Heroku see the next section.

Deployment to Heroku

Note that you will need to install the Heroku toolbelt to carry out the heroku commands below.

Create the application on Heroku

Skip this step if the application is already deployed

This is heavily based on this tutorial.

# replace {app-name} with the name of your app
heroku create {app-name}
git push heroku master
# now point at our config
heroku ps:scale web=1

To deploy (already created):

Push to heroku git repo:

git push heroku master

Note: if didn't do the create you will need to add the heroku remote:

git remote add heroku git@heroku.com:{app-name}.git

Adding collaborators:

heroku sharing:add joe@example.com

Setting the domain name

Do the following:

heroku domains:add {your-domain-name}

Now CNAME your domain to {myapp}.herokuapp.com