This is my personal site: React frontend and Rails backend, orchestrated by docker-compose.
- Ensure correct versions are installed:
- Ruby: 3.2.0
- Node: 17.9.0
- If on Linux, ensure
libpq-devis installed:sudo apt install libpq-dev
- Ensure that
yarnis installed:npm install --global yarn
cdinto thereact_uilibrary and run:yarn install
cdinto therails_apidirectory and run:bundle install
- Duplicate
.env.samplefile and rename to.env - Run
docker-compose up