Here are the revised instructions with additional clarity and helpfulness:
Clone the Repository:
Open your terminal.
Type git clone https://github.com/jorge-menjivar/unsaged.git and press Enter.
This command will clone the repository from GitHub to your local machine.
Navigate to the Application Directory:
Enter the application's directory with cd apps/unsaged/.
Install Dependencies:
Run pnpm install to install all the necessary dependencies for the application.
Create and Edit Environment Variables:
Use nano .env.local or vi .env.local to create and edit your local environment variables. Make the necessary changes and save the file.
Return to the Project Root Directory:
After saving the environment variables, return to the root directory of the project by typing cd ../../.
Build the Docker Image:
To build the Docker image, execute docker build -f apps/unsaged/Dockerfile --no-cache -t unsaged .
This command builds a Docker image named 'unsaged' based on the Dockerfile located in apps/unsaged
Run the Docker Container:
Finally, start the application in a Docker container using docker run -p 127.0.0.1:3000:3000 --name unsaged unsaged.
This command runs the 'unsaged' image as a container, mapping port 3000 of the container to port 3000 on your host machine.
Remember to replace any placeholders in the .env.local file) with your specific configurations. If you encounter any errors, check the command syntax and ensure you're in the correct directory.
Here are the revised instructions with additional clarity and helpfulness:
Clone the Repository:
git clone https://github.com/jorge-menjivar/unsaged.git
and press Enter.Navigate to the Application Directory:
cd apps/unsaged/
.Install Dependencies:
pnpm install
to install all the necessary dependencies for the application.Create and Edit Environment Variables:
nano .env.local
orvi .env.local
to create and edit your local environment variables. Make the necessary changes and save the file.Return to the Project Root Directory:
cd ../../
.Build the Docker Image:
docker build -f apps/unsaged/Dockerfile --no-cache -t unsaged .
apps/unsaged
Run the Docker Container:
docker run -p 127.0.0.1:3000:3000 --name unsaged unsaged
.Remember to replace any placeholders in the
.env.local
file) with your specific configurations. If you encounter any errors, check the command syntax and ensure you're in the correct directory.