100K+
FE part for the new Rails based implementation
The app uses Node Package Manager and grunt.
example
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
To install grunt after you have set up npm you can run
npm install -g grunt-cli
For documentation you need to install JSdoc
npm i jsdoc
To install the latest version on npm globally (might require sudo)
npm install -g jsdoc
To install the latest version on npm locally and save it in your package's package.json file:
npm install --save-dev jsdoc
In the root folder run npm install to install all dependencies.
Run grunt to compile the pug templates and scss
During development run grunt to automatically recompile after a .pug or .scss file have been saved.
An ESLinter has been set up. If you use atom you might want to install the linter and linter-eslint plugins.
$ cap production deploy
$ npm run docs
On Ubuntu 16: /usr/bin/env: ‘node’: No such file or directory
sudo apt-get install nodejs-legacy, since many libs on debian will call nodejs instead of node
'grunt build' problem: "You need to have Ruby and Sass installed and in your PATH for this task to work."
probably a fsevents problem, see https://github.com/gruntjs/grunt-contrib-sass and
run sudo gem install sass yourself.
To setup a development/testing environment using docker you need to install docker-compose on your system. Currently, you need to setup maven 8 and java 8 in addition. To run docker follow the following steps:
git submodule update --init --recursivemvn clean package -DskipTestsdocker-compose upNow you can navigate to the frontend, backend and frontend assets.
The passwords are stored in your .env file.
Content type
Image
Digest
Size
391 MB
Last updated
almost 6 years ago
docker pull aggipp/hyplag-frontend-assets