GUI for API Shortner
Minimal GUI for api-shortener. Supports creation and deletion. Does not display stats.
Usecase: This is intendend only for testing or as a stopgap method while you're implementing the api into your own app. It's probably also good enough for personal use.
DO NOT USE IN PRODUCTION
- Nginx => 1.7.5
Setup nginx config
Copy nginx.conf.dist to nginx.conf and modify
Secure the install
We're using Basic HTTP Auth.
etc/.htpasswd and add the username/password (see google how).
Copy config.js.dist to config.js and modify with your information.
sudo service nginx restart
- This has no autentichation/authorisation code.
This is intended for stopgap/testing purposes. It should be secured with at least Basic HTTP Auth.
Deployment is done with Deployer.
Copy config file and configure
cp deploy.php.dist deploy.php nano deploy.php
dep deploy production