Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/marcelom47/library-ms
- Owner: MarceloM47
- License: mit
- Created: 2023-09-07T23:24:55.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-31T12:54:05.000Z (19 days ago)
- Last Synced: 2024-10-31T13:39:54.652Z (19 days ago)
- Topics: bootstrap, library-management-system, rails, ruby
- Language: Ruby
- Homepage:
- Size: 168 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: "[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/)