DataHub frontend in node.js.
Clone the repo, install dependencies using yarn (or npm), and run the server:
# or npm install
yarn install
npm start
We use .env
file for loading environment variables. Please, use provided env.template
as a template:
SITE_URL
- FQ base URL of the site e.g.https://datahub.io
API_URL
- FQ base URL of the API endpoint eg.https://api.datahub.io
BITSTORE_URL
- base URL for the bitstore (pkgstore) e.g.https://pkgstore.datahub.io
See the docs for more information.
To build the CSS:
-
Install sass
-
Run:
sass --watch public/sass:public/stylesheets