To run the following commands, follow these steps:
-
Copy the example environment file to a new
.envfile:cp .env.example .env
-
Obtain a GitHub access key:
- Go to GitHub Settings
- Click on "Generate new token"
- Select the scopes (repo) and generate the token
- Copy the token and paste it in .env
-
Install the necessary npm packages:
npm i
-
Run the Node.js application:
node index.js