-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
72ed399
commit af1fde0
Showing
1 changed file
with
49 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,60 @@ | ||
# README | ||
# Alexandria | ||
|
||
This README would normally document whatever steps are necessary to get the | ||
application up and running. | ||
Alexandria is a simple Ruby on Rails application designed to manage a personal library. The application allows close friends and family to create user accounts and manage books by borrowing, listing, retrieving, and adding them to the library. | ||
|
||
Things you may want to cover: | ||
## Prerequisites | ||
|
||
* Ruby version | ||
Before you begin, ensure you have met the following requirements: | ||
|
||
* System dependencies | ||
- **Ruby version:** 3.1.0 | ||
- **Rails version:** 7.0.4 | ||
- **Database:** PostgreSQL | ||
|
||
* Configuration | ||
## System Dependencies | ||
|
||
* Database creation | ||
Make sure you have the following installed: | ||
|
||
* Database initialization | ||
- Ruby | ||
- Rails | ||
- PostgreSQL | ||
- Bundler | ||
|
||
* How to run the test suite | ||
## Setup | ||
|
||
* Services (job queues, cache servers, search engines, etc.) | ||
### Configuration | ||
|
||
* Deployment instructions | ||
1. Clone the repository: | ||
|
||
* ... | ||
```sh | ||
git clone https://github.com/gabrielgomeso/alexandria.git | ||
cd alexandria | ||
``` | ||
|
||
2. Install the dependencies: | ||
|
||
```sh | ||
bundle install | ||
``` | ||
|
||
3. Set up the database: | ||
|
||
```sh | ||
rails db:create | ||
rails db:migrate | ||
``` | ||
|
||
### Running the Application | ||
|
||
To start the Rails server, run: | ||
|
||
```sh | ||
rails server | ||
``` | ||
|
||
Then, open your browser and navigate to http://localhost:3000 to access the application. | ||
|
||
### Features | ||
|
||
- User authentication for close friends and family | ||
- Borrow, list, retrieve, and add books to the library | ||
- Styled using BulmaCSS |