@learninglocker/url-shortener
An xAPI URL shortenenr
Last updated 2 years ago by ryansmith94 .
GPL-3.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @learninglocker/url-shortener 
SYNC missed versions from official npm registry.

xAPI URL Shortener

A server for xAPI URL shortener

Build Status Renovate badge semantic-release Join the chat at https://gitter.im/LearningLocker/learninglocker Commitizen friendly

Installation

  1. Clone the repository git clone git@github.com:LearningLocker/url-shortener.git.
  2. Install dependencies npm install.
  3. Build the code npm run build.
  4. Run migrations npm run migrate.
  5. Start the server npm start.

Development

  1. Follow the installation procedure.
  2. Make your changes to the "src" directory.
  3. Build the code npm run build.
  4. Test the code npm test.
  5. Run the server npm start.
  6. Use the CLI npm link and xus --help.

Docker

You can use the steps below to install and run the xAPI URL Shortener.

  • Create a ".env" file using the ".env.example" file in this Github repository.
  • Pull the image from DockerHub docker pull learninglocker/url-shortener:master.
  • Run the image in a container docker run -d -p 8080:80 --name xus --env-file .env learninglocker/url-shortener:master.

To use the CLI you can use the steps below.

  • Enter the container docker exec -it xus bash.
  • Use the CLI xus --help.

Current Tags

  • 1.5.5                                ...           latest (2 years ago)

5 Versions

  • 1.5.5                                ...           2 years ago
  • 1.5.4                                ...           2 years ago
  • 1.5.3                                ...           2 years ago
  • 1.5.2                                ...           2 years ago
  • 1.5.1                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 2
Dependencies (14)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |