Skip to content

Latest commit

 

History

History
103 lines (67 loc) · 2.72 KB

File metadata and controls

103 lines (67 loc) · 2.72 KB

Setup and Running

It is highly recommended to use a Unix-based system (such as Ubuntu, Fedora, Kali, or any other) or MacOS. Windows may encounter certain issues with Docker.

Requirements

1 - Clone the Repository

To clone the repository, follow these steps:

Open your terminal or command prompt.

Go to the file that you want to download the project (you can use the command ls to see where your location and the comand cd to go to myfiles/exemple).

Then, run the following command to clone the repository:

git clone https://github.com/podcodar/app.git

This command will download the project files to your local machine in the folder app. ✨

2 - Install Project Dependencies

To install pnpm on your system, simply run this command if node is installed.

npm install -g pnpm

For other ways to install, follow the official installation instructions for your operating system.

Then use the commands:

pnpm install to install package.json dependencies

pnpm run to run the script provided in package.json

3 - Environment setup

We use GPG for credential managing, first make sure you have it installed on your machine and correctly set in your path (if not, follow the requirements doc 😉).

Generating environment variables

Installation for GPG

Now install GPG:

brew install gnupg

On main branch

Generating keys for project

pnpm decrypt

GPG will ask you the password, to obtain it please contact @frattezi or @marco-souza.

Now, your env files should be populated with the necessary values, cheers! 🥂

4 - Install Docker

To install Docker and Docker Compose on your system, follow the official installation instructions for your operating system.
Docker Installation
Docker Compose Installation

Now you can run the project by typing:

# MacOs users
docker-compose up -d

# Linux users
docker-compose -f docker-compose.yml -f docker-compose.portforward.yml up -d

 

Next page ➔