https://github.com/joinhandshake/checkin-kiosk-bootstrap-rails
https://github.com/joinhandshake/checkin-kiosk-bootstrap-rails
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/joinhandshake/checkin-kiosk-bootstrap-rails
- Owner: joinhandshake
- License: mit
- Created: 2021-02-17T17:00:43.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-18T00:49:05.000Z (over 5 years ago)
- Last Synced: 2025-02-21T09:46:21.858Z (over 1 year ago)
- Language: Ruby
- Size: 153 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Check In Kiosk - Rails boostrap approach
A newly scaffolded Rails app used for technical interviews.
## Initial Setup
### Prerequisites
Ruby 2.7.2, postgres via homebrew, etc.
`brew install postgres # using pg13`
See [the Postgres Homebrew guide](https://wiki.postgresql.org/wiki/Homebrew) for more.
`echo '2.7.2' > .ruby-version # using rbenv`
### How the app was created
```
# For background, this is how we created the app. Should not need to run this again
# bundle exec rails g scaffold Users first_name:string last_name:string graduation_date:datetime check_in_time:datetime
```
Then, `bundle exec rails db:setup` or `rails db:create && rails db:migrate` etc.
## Running the app
`yarn` for creating the frontend manifest
`bundle exec rails s` or however you normally like to start Rails.
## Testing
`bin/rails test test/models/user_test.rb` etc