openvitae-tech / blackboard-lms

LMS platform tailored for hotel and hospitality training needs written using Ruby on Rails.
MIT License
5 stars 3 forks source link

Update read me file #8

Closed kiranmurali93 closed 3 months ago

kiranmurali93 commented 3 months ago

Corrected the copy config file

deepakkumarnd commented 3 months ago

@kiranmurali93 In my machine renaming the env example to .env or even env is not working I still have to do a source env to get it pick the environment variables. Have you updated the database.yml by any chance ? Otherwise rails wouldn't pick the env file by default.

kiranmurali93 commented 3 months ago

@kiranmurali93 In my machine renaming the env example to .env or even env is not working I still have to do a source env to get it pick the environment variables. Have you updated the database.yml by any chance ? Otherwise rails wouldn't pick the env file by default.

Yes I have modified the database.yml once while i was trying to figure out how to connect with the database in docker, but i reverted it back and tried it but i didnt have to use source env. if you have to run it every time you start the local server may be i could update the pr to have source env && bin/dev as the server start command in the docs

deepakkumarnd commented 3 months ago

yea you can do that