Remove trailing whitespace
This commit is contained in:
parent
84eeeb02a6
commit
f3c2e802c0
34
README.md
34
README.md
|
@ -1,26 +1,26 @@
|
||||||
# What's this?
|
# What's this?
|
||||||
|
|
||||||
This repository contains database of all quotes from the famous website bash.im as well as the API that allows self-hosting your own quotes website.
|
This repository contains database of all quotes from the famous website bash.im as well as the API that allows self-hosting your own quotes website.
|
||||||
All of this started in February 2022 when bash.im was shut down.
|
All of this started in February 2022 when bash.im was shut down.
|
||||||
Quotes were parsed from the web archive.
|
Quotes were parsed from the web archive.
|
||||||
# Requirements
|
# Requirements
|
||||||
- Python 3.8+ (Python 3.11 is recommended)
|
- Python 3.8+ (Python 3.11 is recommended)
|
||||||
- Git LFS for fetching the quotes DB
|
- Git LFS for fetching the quotes DB
|
||||||
|
|
||||||
# Quickstart
|
# Quickstart
|
||||||
```
|
```
|
||||||
# Clone this repository and enter it:
|
# Clone this repository and enter it:
|
||||||
git clone https://git.darkn.space/Darkn/bash-fastapi.git
|
git clone https://git.darkn.space/Darkn/bash-fastapi.git
|
||||||
# Download the quotes.sqlite3 using Git LFS and replace the pointer file with the actual database:
|
# Download the quotes.sqlite3 using Git LFS and replace the pointer file with the actual database:
|
||||||
git lfs pull
|
git lfs pull
|
||||||
# Configure virtualenv:
|
# Configure virtualenv:
|
||||||
python3 -m venv .venv
|
python3 -m venv .venv
|
||||||
# Activate virtualenv:
|
# Activate virtualenv:
|
||||||
. .venv/bin/activate
|
. .venv/bin/activate
|
||||||
# Install dependencies:
|
# Install dependencies:
|
||||||
python3 -m pip install -r requirements.txt
|
python3 -m pip install -r requirements.txt
|
||||||
# Start main.py
|
# Start main.py
|
||||||
python main.py
|
python main.py
|
||||||
```
|
```
|
||||||
|
|
||||||
# FAQ
|
# FAQ
|
||||||
|
@ -33,7 +33,7 @@ if __name__ == "__main__":
|
||||||
```
|
```
|
||||||
|
|
||||||
### Why is quotes.sqlite3 so small and has no quotes inside of it after I cloned your repository?
|
### Why is quotes.sqlite3 so small and has no quotes inside of it after I cloned your repository?
|
||||||
You probably forgot to install and/or use Git LFS. Go to the repository directory and run following commands:
|
You probably forgot to install and/or use Git LFS. Go to the repository directory and run following commands:
|
||||||
```
|
```
|
||||||
git lfs install
|
git lfs install
|
||||||
git lfs fetch
|
git lfs fetch
|
||||||
|
@ -41,7 +41,7 @@ git lfs checkout
|
||||||
```
|
```
|
||||||
You can read more about using Git LFS [here](https://docs.github.com/en/repositories/working-with-files/managing-large-files/installing-git-large-file-storage) and [here](https://stackoverflow.com/questions/72610494/what-is-the-difference-between-git-lfs-fetch-git-lfs-fetch-all-and-git).
|
You can read more about using Git LFS [here](https://docs.github.com/en/repositories/working-with-files/managing-large-files/installing-git-large-file-storage) and [here](https://stackoverflow.com/questions/72610494/what-is-the-difference-between-git-lfs-fetch-git-lfs-fetch-all-and-git).
|
||||||
### Do you really have all quotes from bash.im?
|
### Do you really have all quotes from bash.im?
|
||||||
As long as it was indexed by the web archive, it's there.
|
As long as it was indexed by the web archive, it's there.
|
||||||
|
|
||||||
# Credits:
|
# Credits:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue