/RubyTimeManagement

Ruby time management application.

Primary LanguageRuby

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:
        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
    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