This is probably the easiest method to build the source code on your machine if you already have Docker and Docker Compose installed. If you don't have Docker on your machine, I'll let you figure that out on your own.
- 1.Once you have Docker set up, you can pull the source code from GitHub and dive into the repository.
git clone https://github.com/AmruthPillai/Reactive-Resume.git
- 3.Install dependencies using pnpm or another package manager you might prefer
- 1.Copy the
.envin the project root and fill it with values according to your setup. To know which environment variables are required, and about what they do, head over this section. For a quickstart you only need to change
PUBLIC_SERVER_URLto the IP adress of the machine you're running the server on,
cp .env.example .env
- 1.Use Docker Compose to create a PostgreSQL instance and a
reactive_resumedatabase, or feel free to use your own and modify the variables used in
docker-compose up -d postgres
- 1.Run the project and start building!
The startup might take a while - depending on your machine. Sit tight and keep an eye on any error messages that might arise.
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under theserviceskey, or omit theversionkey and place your service definitions at the root of the file to use version 1. For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
- On my configuration I had to set the version in docker-compose.yml to 3.7 instead of 3.8 for my docker-compose successfully start up the postgres container.
- I received this error on my machine. I used the following command to increase the memory to 4GB:
export NODE_OPTIONS=--max_old_space_size=4096 #4GB