Schort is a URL shortener that can be installed on macOS. In this tutorial, we will guide you through the installation process.
Before installing Schort, ensure that your system meets the following requirements:
Open Terminal on your macOS by clicking on the Terminal app icon in the Dock or using spotlight search.
Install the MySQL database server and client using Homebrew. Enter the following command in Terminal and press Enter:
brew install mysql
brew services start mysql
brew install redis
git clone https://github.com/sqozz/schort.git
cd schort
npm install
.env
file in the project's root directory by making a copy of the .env.sample
file using this command:cp .env.sample .env
.env
file using your preferred text editor and replace the sample values with your MySQL configuration details:DATABASE_NAME=schort
DATABASE_HOST=127.0.0.1
DATABASE_USER=root
DATABASE_PASSWORD=yourpassword
.env
file by uncommenting the relevant lines and replacing the default values with the correct details:REDIS_HOST=127.0.0.1
REDIS_PORT=6379
npm run start
http://localhost:3000/
in your web browser.Congratulations! You have successfully installed Schort on your macOS machine.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!