Files
writebook/app/assets/markdown/demo/02-installation.md

3.1 KiB
Raw Blame History

title
title
Installation

Installation

Since Writebook is something you need to install and host yourself, youll need a few things before you begin:

  1. Your own domain name.
  2. A web server connected to the internet.
  3. Some basic technical know-how.

While Writebook isnt difficult to set up, if youre not a technical person you might want to get a techy friend to help.

Ok, lets get into it.

Heres how to get it running on your end:

  1. FIRST, pick a machine to host Writebook. If you need one in the cloud, we recommend checking out Digital Ocean (instructions) or Hetzner (instructions).
  2. THEN, point DNS to the IP address of the machine thatll be hosting Writebook. You need to point a domain (example.com) or subdomain (books.example.com) to the IP address of the machine hosting Writebook. Make sure its a straight DNS pointer, no proxying! (Dont worry about SSL, Writebook will automatically set that up for you).
  3. NEXT, connect a terminal to the machine. To run the install command, you must connect to the machine youre using with either SSH or a web-based cloud console.
  4. LAST, install Writebook with one simple command. Paste the command you received via email into the terminal on your server and wait while everything is installed (this may take up to 5 minutes).

You personal install command will look something like this:

/bin/bash -c "$(curl -fsSL http://once.test/install/5555-5555-5555-5555)"

IMPORTANT NOTE: Do not give this install command out to anyone, or share it on the public internet. It is personalized to you, and the license is tied back to you. Your personalized purchase token can be found in the email you received after you downloaded Writebook

Running this command will automatically install Docker on your server if youre using Linux (which is what everything in the cloud usually runs), then download the latest Writebook application as a container that can run on top of Docker. In the process, itll ask for the domain name youre using to host Writebook, so that we can configure an SSL certificate for you.

Screenshot 2024-06-19 at 8.02.28 PM.png

Thats it! Now youre ready to setup the first user on the new installation. Go to the https://YOUR-DOMAIN and the process will begin. Then youll be ready to invite the rest of your team to the system.

Your Writebook installation will automatically update to the latest version every night at 2am (local time of your server). You can turn this off via the once command. You can also use this command to take a backup of your data, reset a password, and several other administrative functions. Just connect a terminal to the machine again and run the once command to see all the options.

Enjoy publishing with Writebook!

P.S. If youd like to run multiple installations of Writebook, youll need to get one license per installation/domain.