This shortens URL's, provides short aliases for redirection of long URL's. It has a web service and a UI frontend.
- Install node
- Install MongoDB
- Install the following node packages globally (npm install --global):
- gulp
- mocha
- jison
- Download the sourcecode from git
- npm install
- gulp build-ui (optional as the public folder contains the latest build)
- This app needs permisions to write to /var/log/miniurl/
- cd lib/urlParser
- jison urlParserCommon.jison
- npm start
- mocha tests/tests.js
- build -t <repository>/<image name>:<tag name> .
- docker login
- docker push <repository>/<image name>:<tag name>
- docker run -d --restart=always --env 'MINIURL_DB_CONNECTION_STRING'='<connection string to a running MongoDB database>' -p 80:3000 <repository>/<image name>:<tag name>