Skip to content

Openssd stands for Open (source) Super Simple Diary. Openssd is a plug-n-run project to host a version of yourself on the webternet.

License

Notifications You must be signed in to change notification settings

kubeden/openssd

Repository files navigation

openssd

Openssd stands for Open (source) Super Simple Diary. Openssd is a plug-n-run project to host a version of yourself on the webternet.

Prerequisites

  1. Debian or Ubuntu internet-facing virtual machine
  2. This repository forked or your own public github repository

Installation

To set up your environment, log into your server and run the install command.

ssh root@[ip_address]
curl -sSL https://raw.githubusercontent.com/kubeden/openssd/main/scripts/install.sh | bash

Configuration & Deployment

To configure and deploy your openssd, go to the openssd directory:

cd /var/www/openssd

open docker-compose.yml with a text editor of your choice and change the following strings:

- GITHUB_USERNAME=kubeden
- GITHUB_REPO=kubeden
- README_FILE=README.md
- INFO_FILE=INFO.md
- X_USER_FULL_NAME=Kuberdenis
- X_USERNAME=kubeden
- TEMPLATE_CHOICE=ssi

Make sure the github username & repository you have added to docker-compose.yml exist and are browsable.

Then when you have everything set up, run the following command:

curl -sSL https://raw.githubusercontent.com/kubeden/openssd/main/scripts/start.sh | bash

Adding articles

To add more articles to your website, navigate to /var/www/openssd

cd /var/www/openssd

and add your articles under the /articles directory.

Then restart your application:

curl -sSL https://raw.githubusercontent.com/kubeden/openssd/main/scripts/stop.sh | bash
curl -sSL https://raw.githubusercontent.com/kubeden/openssd/main/scripts/start.sh | bash

Note: you can follow this guide to turn your cloned repository into your own fork and be able to push and store your articles: link

Setting a custom domain

If you want to set a custom domain, go to your domain provider of choice and set the A record for

to point to your server IP.

After that open the nginx.conf file and edit the following line:

server_name localhost;

to

server_name yourdomain.ext www.yourdomain.ext;

the run the stop script:

curl -sSL https://raw.githubusercontent.com/kubeden/openssd/main/scripts/stop.sh | bash

and then the start script again:

curl -sSL https://raw.githubusercontent.com/kubeden/openssd/main/scripts/start.sh | bash

About

Openssd stands for Open (source) Super Simple Diary. Openssd is a plug-n-run project to host a version of yourself on the webternet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published