Library app written in Rails
- Install rvm and configure it.
rvm 3.2.2
rvm gemset create LibraryApp
rvm 3.2.2@LibraryApp
npm install webpack-dev-server -g
- Install bundler
gem install bundler
bundle install
-
Install and configure PostgreSQL 14 for your platform
-
Create database and run migrations
rails db:create
rails db:migrate
- (Optional) Seed database using values from
db/seeds
rails db:seed
- Run development processes
./bin/dev
- The application is now available at
http://localhost:3000
!
- Deployment uses heroku hobby dyno.
- Make sure you're logged in via the
heroku-cli
heroku login
- Run migrations
heroku run rails db:migrate
- Push code to the
heroku
remote to deploy
git push heroku master
This will always be a moving target because, well, software development is an iterative process.
i18n🌍- Sorting tables ⬆️⬇️
- Different permissions for librarians and admins 👨💻 👩💻
- Handle renewals as a separate entity (currently renewals are done by returning and re-borrowing the book) 🔂
- More filters 📝
- Potential optimisations ✨
- Home page statistics 💹