A collection of scripts to easily install and update Bibliogram.
- Bibliogram project on sourcehut
- Bibliogram code repository
- Bibliogram issues tracker
- › Updater code repository
- Full documentation
- Discussion on Matrix
git clone https://git.sr.ht/~cadence/bibliogram-updater
Run ./run.fish
to run Bibliogram, and to install it and its requirements if they don't already exist. Updates will be installed automatically.
Run ./clean.fish
to clean up the installation.
You may want to do some of these things:
- Learn how to make Bibliogram available on the public internet
- Add your public instance to the instance list
- Look at all of the configuration options
- Write a privacy policy for your users
- Join the discussion room on Matrix: #bibliogram:matrix.org
- Browse the documentation
- Tell your friends to run Bibliogram too
Please open an issue so I can fix it! Please tell me as much information as possible, most importantly the command you ran and the output on the console.
If you don't like GitHub, you can talk to me privately, or join the discussion room on Matrix: #bibliogram:matrix.org
The scripts are written in fish. You'll need to install fish: https://fishshell.com/
You do not have to set fish as your default shell. The scripts have #!
lines, which makes them run in fish no matter what shell you are using.
If you want to port this to bash, please go ahead! I would have written it in bash originally for convenience, but I don't know bash.
run.fish
- It will update itself if an update is available.
- If Bibliogram isn't already installed, it will run
install.fish
. - It will update Bibliogram.
- It will run Bibliogram.
- It will attempt to update Bibliogram from Git. If the update is successful, it will restart Bibliogram.
install.fish
- It will check that
git
,wget
andnc
are available, and will ask you to install them if they aren't. - If
node
isn't installed, it will download a copy to use from then on. - It will clone the Bibliogram repo.
- It will run
npm install
. - It will guide you through setting up
website_origin
,port
,feeds/enabled
, anddoes_not_track
. - It will send you back to
run.fish
.
clean.fish
- It will ask you for confirmation, then delete any files and directories that the other scripts created.