Go to file
knuxify cb39b4cfea docs: make the selfhosting guide a bit more clear 2019-12-30 14:30:36 +01:00
.github i don't know why it was broken but now it isn't 2019-09-01 16:26:14 +10:00
.vscode added vscode settings 2019-09-18 21:39:16 +10:00
app added account deletion functionality, fixes #33 2019-12-19 19:53:05 +10:00
db reorganised directory structure 2019-09-18 13:04:44 +10:00
.gitignore added account deletion functionality, fixes #33 2019-12-19 19:53:05 +10:00
LICENSE Initial commit 2019-08-27 20:22:06 +10:00
README.md docs: make the selfhosting guide a bit more clear 2019-12-30 14:30:36 +01:00
logo.png new logo 2019-09-19 07:53:29 +10:00
requirements.txt Bump markovify from 0.7.2 to 0.8.0 2019-12-18 19:58:44 +00:00
run.sh reorganised directory structure 2019-09-18 13:04:44 +10:00

FediBooks

A web UI for creating your very own ebooks bots.

Selfhosting

  1. Install python3 and mariadb. If you're installing on Windows, make sure to check "Add Python to PATH" during Python installation.

  2. Install the requirements, using pip:

# pip3 install -r ./requirements.txt

If this doesn't work, try using pip instead. If it still doesn't work, you might have to install an additional package (for example, python-pip on Arch Linux).

  1. Copy the app/config.sample.json file to app/config.json.

  2. Fill in the app/config.json file.

  3. Run python3 app/setup.py and follow the on-screen prompts.

  4. Open the MySQL prompt (using the mysql command) and type in the following commands:

CREATE DATABASE `fedibooks`;
CREATE USER 'myuser' IDENTIFIED BY 'mypassword';
GRANT USAGE ON *.* TO 'myuser'@localhost IDENTIFIED BY 'mypassword';
GRANT ALL privileges ON `fedibooks`.* TO 'myuser'@localhost;
FLUSH PRIVILEGES;
exit

where fedibooks is your database name, myuser is your database username and mypassword is your database user's password.

  1. Run
# mysql -u USERNAME -p DATABASE < db/setup.sql

where USERNAME is your database username and DATABASE is your database name.

  1. Run ./run.sh to start FediBooks.