Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/piero-vic/rails-blog-app
https://github.com/piero-vic/rails-blog-app
microverse
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/piero-vic/rails-blog-app
- Owner: piero-vic
- License: mit
- Created: 2022-04-26T14:40:19.000Z (over 2 years ago)
- Default Branch: dev
- Last Pushed: 2022-05-13T16:59:53.000Z (over 2 years ago)
- Last Synced: 2024-11-13T21:47:39.147Z (about 1 month ago)
- Topics: microverse
- Language: Ruby
- Homepage:
- Size: 151 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![](https://img.shields.io/badge/Microverse-blueviolet)
# Rail Blog App
> Blog website made with Ruby on Rails.
## Built With
- Ruby on Rails
## Getting Started
### Prerequisites
You need to have ruby installed in your machine.
### Setup
Clone this repo and enter the directory.
```sh
git clone "https://github.com/piero-vic/blog-app" && cd blog-app
```### Install
Run the following command to install all the dependencies.
```sh
bundler install
```### Setup TailwindCSS
This project is styled with TailwindCSS. Run the following command to start the
build process.```
./bin/dev
```### Usage
Run the following command to start the server, then go to http://localhost:3000
```sh
rails s
```### Run tests
```sh
bundle exec rspec # Run all the tests
bundle exec rspec spec/models # Run tests for models
```#### Integration tests
To run the integrations tests, you need to seed the database. Run the following
commands.```
rails db:setup RAILS_ENV=test
bundle exec rspec spec/features # Run integration tests
```## Author
👤 **Piero Lescano**
- GitHub: [@piero-vic](https://github.com/piero-vic)
- Twitter: [@v1ccenzo](https://twitter.com/v1ccenzo)
- LinkedIn: [piero-lescano](https://linkedin.com/in/piero-lescano)## Show your support
Give a ⭐️ if you like this project!