https://github.com/marcelom47/library-ms
Library Management System
https://github.com/marcelom47/library-ms
bootstrap library-management-system rails ruby
Last synced: 9 months ago
JSON representation
Library Management System
- Host: GitHub
- URL: https://github.com/marcelom47/library-ms
- Owner: MarceloM47
- License: mit
- Created: 2023-09-07T23:24:55.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-10T21:58:59.000Z (over 1 year ago)
- Last Synced: 2025-02-10T22:33:28.940Z (over 1 year ago)
- Topics: bootstrap, library-management-system, rails, ruby
- Language: Ruby
- Homepage:
- Size: 188 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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: "example@example.com",
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/)