This guide will help you get LinkPen up and running on your system.
Before you begin, ensure you have:
git clone https://github.com/sleepingami/linkpen.git
cd linkpen
or alternatively, if you want to clone to the current directory:
git clone https://github.com/sleepingami/linkpen.git .
npm install
{
"rootDomain": "http://your-domain.com", // NOTE: Adding http:// is mandatory. HTTPS is recommended!
"hostPort": "5500",
"siteTitle": "LinkPen", // String; 8 characters or less
"discordInvite": "https://discord.gg/your-invite-link", // Preferrably a permanent link
"database_key": "your_database_secret_key", // DO NOT SHARE THIS KEY WITH ANYONE!
"isPublic": false // Set this to true if you want to allow anyone to use your instance
}
npm run dev
or alternatively, if you don’t want to modify source code:
npm run start
http://localhost:5500
(replace 5500 with the port specified in step 3) in your browser