datahub/wherehows-web
Andrew Park 70aba2df45 Add application environment variables & husky error on Mac (#626)
* Fixed Tracking and run cli
- added piwik directives
- added application.env for frontend specific
* adding frontend env file
* added LDAP config variables in frontend env
* revert back web package
* added readme troubleshooting
* fixed PR review feedbacks
2017-07-28 14:51:50 -07:00
..

wherehows-web

This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd wherehows-web
  • npm install
  • bower install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.

Troubleshooting

git commit SyntaxError on Mac

git commit -m 'foo bar'

husky - npm run -s precommit
const path = require('path')
^^^^^`
SyntaxError: Use of const in strict mode.

# Re-install npm global packages
npm cache clean -f
sudo npm install -g n
sudo n stable