Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vitaee/rubytimemanagement
Ruby time management application.
https://github.com/vitaee/rubytimemanagement
postgresql ruby ruby-on-rails
Last synced: 14 days ago
JSON representation
Ruby time management application.
- Host: GitHub
- URL: https://github.com/vitaee/rubytimemanagement
- Owner: Vitaee
- Created: 2022-11-21T14:48:29.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-08T10:59:08.000Z (about 2 years ago)
- Last Synced: 2024-11-06T19:50:51.047Z (2 months ago)
- Topics: postgresql, ruby, ruby-on-rails
- Language: Ruby
- Homepage:
- Size: 356 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Ruby Time Management Project
This is my first ruby on rails project. I learned a lot about the framework, while developing this. Steps are necessary to get the application up and running.### Things you may want to cover:
* System information
- Ubuntu 22.04.1 LTS 64-bit* Ruby version
- ruby 3.0.4p208 (2022-04-12 revision 3fa771dded) [x86_64-linux]
- Rails 7.0.4* Configuration
- create docker postgresql and our database with these commands:
```.bash
sudo docker run --name some-postgres -e POSTGRES_PASSWORD=123456 -d postgres
sudo docker exec -it some-postgres psql -U postgres -c "create database time_management_development"
```
- Our database is ready to use. So know, install dependencies with bundle.
- ```bundle install```
- create .env in project root and put your variables to .env file
```.env
DB_HOST=172.17.0.2
DB_USER=postgres
DB_PASSWORD=123456
DB_HOST=172.17.0.2
DB_PORT=5432
```
- The last step before ```rails s``` is migrating our tables, please run these commands ```rails db:migrate``` && ```rails db:seed```
### Example demo video of project.
[![Watch the video](https://i.ibb.co/x6Wvf1j/denemee.png)](https://vimeo.com/777277277)