dp-table-builder-ui
v1.1.2
Published
Handsontable grid implementation
Downloads
69
Readme
dp-Table-Builder-UI
Starting the dev server
Make sure you have the latest Stable or LTS version of Node.js installed.
git clone [email protected]:ONSdigital/dp-table-builder-ui.git
- Run
npm install
- Start the dev server using
npm start
- Open http://localhost:8080
Available Commands
npm start
- start the dev servernpm clean
- delete the dist foldernpm run production
- create a production ready build indist
foldernpm run lint
- execute an eslint checknpm test
- run all testsnpm run test:watch
- run all tests in watch modenpm run coverage
- generate code coverage report in thecoverage
folder
Troubleshooting
Error saying python2 not found in path for macOS users
Solution You will need to install python2
As other services use Python3, it is advised to use pyenv to manage the python versions
There is a .python-version
file that will set the python version locally
brew install pyenv
- if running on macOS 10.9 > then run
brew install zlib; CPPFLAGS="-I$(brew --prefix zlib)/include" pyenv install 2.7.16
else runpyenv install 2.7.16
pyenv local 2.7.16
(This command shouldn't be required but if the dot file isn't picked up then this will set it)