https://github.com/unique-thinker/user_app
https://github.com/unique-thinker/user_app
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/unique-thinker/user_app
- Owner: unique-thinker
- Created: 2024-11-01T10:37:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-29T20:35:03.000Z (over 1 year ago)
- Last Synced: 2025-02-02T00:35:42.059Z (over 1 year ago)
- Language: Ruby
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
##### Prerequisites
The setups steps expect following tools installed on the system.
- Github
- Ruby [3.3.5]
- Rails [7.2.2]
- Postgresql
##### 1. Check out the repository
```bash
git clone git@github.com:unique-thinker/user_app.git
```
##### 2. Create and setup the database
Run the following commands to create and setup the database.
```ruby
bundle exec rake db:create
bundle exec rake db:setup
```
##### 3. Run Rspec test case
Run the following commands to run rspec test.
```ruby
bundle exec rspec spec/models
```
##### 4. Start the Rails server
You can start the rails server using the command given below.
```ruby
bundle exec rails s
```
And now you cn visit the site with the URL http://localhost:3000