13c0c7b88e
Bumps [requests](https://github.com/psf/requests) from 2.22.0 to 2.23.0. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/master/HISTORY.md) - [Commits](https://github.com/psf/requests/compare/v2.22.0...v2.23.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> |
||
---|---|---|
.github | ||
.vscode | ||
app | ||
db | ||
.gitignore | ||
LICENSE | ||
logo.png | ||
README.md | ||
requirements.txt | ||
run.sh |
FediBooks
A web UI for creating your very own ebooks bots.
Selfhosting
FediBooks is currently unfinished - many functions don't work yet, and future updates may make major, breaking changes. I don't recommend self-hosting it yet unless you're willing to work through the potential growing pains.
-
Install
python3
andmariadb
ormysql
. If you're installing on Windows, make sure to check "Add Python to PATH" during Python installation. -
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).
-
Copy the
app/config.sample.json
file toapp/config.json
. -
Fill in the
app/config.json
file. -
Run
python3 app/setup.py
and follow the on-screen prompts. -
Open the MySQL prompt (using the
mysql
command) and type in the following commands:
CREATE DATABASE `fedibooks`;
CREATE USER 'myuser' IDENTIFIED BY 'mypassword';
GRANT ALL PRIVILEGES ON `fedibooks`.* TO 'myuser';
FLUSH PRIVILEGES;
exit
where fedibooks
is your database name, myuser
is your database username and mypassword
is your database user's password.
- Run
# mysql -u USERNAME -p DATABASE < db/setup.sql
where USERNAME is your database username and DATABASE is your database name.
- Run
./run.sh
to start FediBooks.