Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marcelom47/library-ms

Library Management System
https://github.com/marcelom47/library-ms

bootstrap library-management-system rails ruby

Last synced: 11 days ago
JSON representation

Library Management System

Awesome Lists containing this project

README

        

# Library Management System (LMS)

## Installation

### Requirements

- Ruby 3.2.2
- Rails 7

### Install Library-MS

1. **Install dependencies:**

```bash
bundle install
```

2. **Load initial data:**

```bash
rails db:seed
```

3. **Apply migrations:**

```bash
rails db:migrate
```
4. **Start the server:**

```bash
rails s
```

## Seeds.rb
The "Profesor" specialty is created and the default administrator user is created.

```
Speciality.create!(name: "Profesor")

User.create!(
email: "[email protected]",
password: "123456",
name: "root",
lastname: "root",
dni: "0000000",
phone_number: "9999999999",
admin: true,
active: true,
speciality_id: Speciality.first.id
)
```

## License

[MIT](https://choosealicense.com/licenses/mit/)