Skip to content

YehudaEi/Y-Link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Y-Link

URL Shortener writen in pure PHP.

WebSite

API Docs

100$ Free For 60 days ⬇

DigitalOcean Referral Badge

Installation

  1. Clone the project
$ git clone https://github.com/YehudaEi/Y-Link
  1. Create Database from the dump create_db.sql

  2. Config the database in public/include/config.php in line 14

  3. Config the site domain in public/include/config.php in line 16

  4. Config the site url in public/YLinkClient.php in line 21

  5. if you use apache go to 7. if you use nginx go to 8.

  6. copy apache.conf to /etc/apache2/sites-available/

    1.  $ sudo mv apache.conf /etc/apache2/sites-available/servername.conf
    2. Config the servername.conf
    3. enable servername.conf
      $ sudo a2ensite servername.conf
    4. go to 9.
  7. copy nginx.conf to /etc/nginx/sites-available/

    1.  $ sudo mv nginx.conf /etc/nginx/sites-available/servername.conf
    2. Config the servername.conf
    3. enable servername
      $ sudo ln -s /etc/nginx/sites-available/servername.conf /etc/nginx/sites-enabled/
    4. go to 9.
  8. Done! Enjoy 😁

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

AGPL-3