Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryanckulp/course_thrift
buy and sell lightly used online courses
https://github.com/ryanckulp/course_thrift
Last synced: 2 months ago
JSON representation
buy and sell lightly used online courses
- Host: GitHub
- URL: https://github.com/ryanckulp/course_thrift
- Owner: ryanckulp
- Created: 2023-07-26T17:20:05.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-07-28T13:28:07.000Z (over 1 year ago)
- Last Synced: 2024-10-16T09:32:13.563Z (3 months ago)
- Language: Ruby
- Size: 137 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Course Thrift
a Rails 7 live stream build by [@ryanckulp](https://twitter.com/ryanckulp). watch the full build [here](https://www.youtube.com/watch?v=u9xajgugRLM). learn how to build this yourself at [24 Hour MVP](https://founderhacker.com/24-hour-mvp).url: https://course-thrift-6e04a47f6ec1.herokuapp.com
## Installation
1. clone the repo
2. bin/setup
3. get repo secrets (`config/application.yml`) from admin## Development
```sh
bin/dev # uses foreman to boot server, frontend, and bg job queue
```## Testing
```
bundle exec rspec # run all tests inside spec/
bundle exec rspec spec/dir_name # run all tests inside given directory
```## Deploying
```sh
figaro heroku:set -e production # you only need to do this once
heroku git:remote -a heroku_app_name_here # you only need to do this once
``````sh
git push heroku master # deploys master branch
git push heroku some_branch_name:master # deploys non-master branch
```**note**: Heroku must have 2 'dynos' enabled, `web` + `worker`, to process background jobs. if you don't need a queue, simply remove the `worker` task from `Procfile` and don't invoke `.delayed` functions.
## Miscellaneous
to use Postmark for emails, set `postmark_api_token` inside `application.yml`, then [verify your sending domain](https://account.postmarkapp.com/signature_domains/initialize_verification).