https://github.com/doerfli/reeper
Webapplication to store recipies
https://github.com/doerfli/reeper
actiontext aws-s3 docker hacktoberfest ocr recipe-app ruby-on-rails self-hosted tesseract-ocr
Last synced: 2 months ago
JSON representation
Webapplication to store recipies
- Host: GitHub
- URL: https://github.com/doerfli/reeper
- Owner: doerfli
- License: mit
- Created: 2020-07-18T11:55:46.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-01T09:56:17.000Z (3 months ago)
- Last Synced: 2025-03-14T17:33:39.779Z (2 months ago)
- Topics: actiontext, aws-s3, docker, hacktoberfest, ocr, recipe-app, ruby-on-rails, self-hosted, tesseract-ocr
- Language: Ruby
- Homepage:
- Size: 2.28 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Reeper
This repository contains a self-hosted recipe web application implemented in Ruby On Rails.
Runtime docker images are available.
## Preparation for development
### DB Setup
```
rake db:create
rake db:migrate
```Restore dump
```
pg_restore -d reeper_development -h db -Upostgres file.dump
```### AWS credentials
Create `.env.local` file with AWS credentials
```bash
# .env.local
AWS_ACCESS_KEY_ID=AAAAAAA
AWS_SECRET_ACCESS_KEY=BBBBB
```## Start development server
Start webpack-dev-server, css build, rails
```
bin/dev
```## Start production via docker
Use provided `docker-compose.prod.yml` file for startup of postgres db and container for the rails app. Don't forget to set `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` and db passwords. To change name of S3 bucket (_reeper_) and region (_eu-central-1_) use `S3_BUCKET_NAME` and `S3_BUCKET_REGION` environment variables.