Why Lenpaste?

Privacy First: Your data, your rules. No third-party access.
Fully Customizable: Adjust settings, themes, and more to fit your needs.
Open Source: Dive into the code and make it truly yours.

Prerequisites

Before we begin, ensure you have the following:

A server or VPS.
Command-line access to your server.
Git installed. If not, install it using:

sudo apt-get install git

Installation and Deployment

Step 1: Clone the Repository

git clone https://github.com/lenpaste/lenpaste.git
cd lenpaste

Step 2: Install Dependencies

sudo apt-get update
sudo apt-get install -y [dependencies]

Replace [dependencies] with any required dependencies for Lenpaste. Step 3: Build and Run

make build
make run

Note: Commands might vary based on the actual build and run instructions provided by Lenpaste.

Customization and Configuration

Adjusting Settings

Open the configuration file in your preferred editor:

nano config.yml

Make necessary adjustments, such as:

  • Setting up the database connection.
  • Adjusting default expiration times.
  • Modifying the user interface.

Themes and UI

Lenpaste might offer themes or UI customization. Dive into the respective directories and adjust as needed:

cd themes/
nano mytheme.css

Conclusion

Deploying Lenpaste on your server not only ensures data privacy but also offers a tailored experience. With this markdown guide, you can easily set up, customize, and run your instance of Lenpaste. Happy sharing!