Skip to content

yaroslavrick/cars-moto-shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Car advertisements web

Requirements

  • Ruby 3.1.2
  • Rails 7.0.4

1. Clone the repository

[email protected]:yaroslavrick/car_advertisements_web.git

2. Move into the project directory:

cd car_advertisements_web

3. Install dependencies

bundle install

4. Copy the .env.example file.

cp .env.example .env.development

5. Setup Docker services (PostgreSQL and Redis):

docker-compose up

Ensure that the ports configured in .env do not conflict with your running services.

6. Create the database:

bundle exec rails db:create

7. Run database migrations:

bundle exec rails db:migrate

8. (Optional) Run seed data to create some sample data:

bundle exec rails db:seed

Usage

To start the app, run the following command:

bundle exec rails server

Once the server is running, open your web browser and go to http://localhost:3000 to access the app.

Testing

To run the test suite, use the following command:

bundle exec rspec

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published