Product Documentation
This page will go over the installation steps for WLink - The Easy to use URL Shortener. Make sure you have all the prerequisites outlined below.
VPS or dedicated server running Linux (Our guides use and recommend Ubuntu)
A domain name (like www.example.com)
Discord account
To allow WLink to run, the required software needs to be present on the server. This software includes; Nginx (web-server), MySQL (database) and, Node.Js with NPM.
If this software is not installed, our LEMN stack setup can be followed for more the installation of any of those components.
By downloading and uploading the files to a server the database can be setup in step three and application started later on. The files are obviously required. Download the latest version of WLink from the Weblutions website.
Download and extract the contents of the RAR file to your computer.
Upload the WLinkfolder to the server, for example /home/wlink
This should mean that the index is located at /home/wlink/index.js
Log into your MySQL database server with your required credentials and run the below command to create and setup the table structure.
In most installs accessing the MySQL server can be done by running the mysql -u root -p command.
source /home/wlink/install.sqlIf you have installed WLink to another directory be sure to update the path in the above command.
Before installing required packages to run WLink configure the config.json to your needs. After this install the Node modules per the below steps.
Edit the config.json to the desired configuration and save
Install the required modules with the below commands from within the directory.
Change directories into WLink installation
cd /home/wlinkInstall the Node modules with the npm command
npm installThis will install the required content for WLink.
If any dependency warning messages display they can likely be ignored as a package may be requesting an outdated package.
To start WLink we recommend a screen session is used to ensure the application continues to operate once the terminal is closed. To start WLink use the node command.
node .WLink is now installed and running. WLink does not have setup page and site administrator access is defined by Discord user IDs.
Need Assistance?
Our Team are able to assist. Contact us through our website or Discord server and we'll be able to a