Prerequisite: Ensure that you have Docker installed in your system and have Docker daemon running.
- Clone this repo to your local machine.
- From the repo's local directory, run
cp env-example .env
. - From the repo's local directory, run
docker compose build
. - From the repo's local directory, run
docker compose run propsocial-lite bundle install
. - Run
docker compose run propsocial-lite db:setup db:migrate db:seed
(this will take a while as seeding involves downloading random photos of houses and saving it to the local machine). - Run
docker compose up -d
to create and start the containers. - Using your web browser, visit http://localhost:8020 to view the web app.
- With your web browser, visit http://localhost:8020/admins/sign_in.
- Enter the following credentials:
Email: [email protected]
Password: admin123