Admission

About

An admission supervisor started by a click on a button that merges different textual "fellestekst" sources based on program and user parameters that comes from a Nettskjema as a GET-request:

Countries and country-codes

Sort JSON with e.g. countries

Development

For developing design on testserver: http://vortex-test.uio.no/. Set isProduction to true to develop on prodserver: http://www.uio.no/.

Compiles ES6 to ES5 / standard javascript in output/local.js and LESS to CSS in output/local.css, and is moved to /vrtx/studier/admission/output/ on the host.

Install Node.js

Goto https://nodejs.org/en/ and download and install Stable.

Or with shell on Linux run:

sudo apt-get install nodejs
sudo apt-get install npm
sudo ln -s /usr/bin/nodejs /usr/bin/node

Install GULP

Run (drop sudo on Windows):

sudo npm install gulp -g

Install GULP plugins to the project

Goto the GIT-folder and run:

npm install

Installs dependencies from package.json.

Start listening for changes in LESS- and JS-files

gulp

If you get problems on Windows. In the GIT-folder run:

npm install gulp

and then try again.