Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnfisherman/openingquot.es
Unearthing mankind's best quotes, one epigraph at a time
https://github.com/johnfisherman/openingquot.es
art books epigraphs literature ruby-on-rails
Last synced: 8 days ago
JSON representation
Unearthing mankind's best quotes, one epigraph at a time
- Host: GitHub
- URL: https://github.com/johnfisherman/openingquot.es
- Owner: johnfisherman
- License: gpl-2.0
- Created: 2024-09-06T10:57:44.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-12-19T06:33:13.000Z (21 days ago)
- Last Synced: 2024-12-21T12:50:23.084Z (18 days ago)
- Topics: art, books, epigraphs, literature, ruby-on-rails
- Language: Ruby
- Homepage: https://openingquot.es
- Size: 498 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openingquot.es
[openingquot.es](https://openingquot.es)
_Unearthing mankind's best quotes, one epigraph at a time_
This webapp is being developed by me, [Fred Rocha](https://fredrocha.net/), in public. You can tag along
for the adventure [here](https://fredrocha.net/2024/08/07/building-a-crud-application-using-ruby-on-rails-in-2024/).Some novelists choose to open their books with a quote from another writer. This is called an [epigraph](). These quotes
taken out of their original context are given a new life, necessarily detached from the former one. Since writers are
the utmost specialists in their fields, and since the beginning of a work has such relevance to the whole, I risk saying
that these selected quotes will necessarily be the crème de la crème of the world’s literature. Change my mind.This website / webapp will be a repository for those epigraphs. Send your own favorites.
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/K3K113D3DM)
Thanks to [Giacomo Miceli](https://jamez.it) for reminding me this was a worthwhile pursuit, Madalena Marques for the constant inspiration and out-of-the-box thinking, and Christina Casnellie for the work residency in London, with the best food in town and a steady stream of priceless epigraphs.
Book covers are being fetched from [Literal.club](https://iteral.club)'s API. Thank you, guys!
## Running the project
### Install Postgres
### on Ubuntu
`sudo apt update`
`sudo apt install postgresql postgresql-contrib libpq-dev`
`sudo -u postgres createuser -s -P``bundle install`
### macos, using homebrew
`xcode-select --install`
`brew update`
`brew install postgresql`From the root of the project, do:
`bundle install`
`brew services start postgresql`
`psql postgres`Key in:
`CREATE ROLE fred WITH LOGIN PASSWORD 'pantera1234';`
`ALTER ROLE fred CREATEDB;``bin/rails db:create db:migrate db:seed`
You're done
### Compiling SASS styles
### Dev
Run this command from the root of the project (it also runs the Puma server for you):
`./bin/dev`