Table of contents
-
Node > 20 version. You can use NVM to setup a node version manager
-
Package manager
-
PNPM
npm install -g pnpm
-
NPM
npm install -g npm@latest
-
YARN
npm install -g yarn
-
-
Fill the
.env
file with the required environment variables. You can use the.env.example
file as a reference.
If you are going to use a package manager other than "pnpm" run this command before you begin
rm -rf node_modules && rm pnpm-lock.yaml
-
Clone the repository
git clone https://github.com/alevidals/loop.git
-
Install the packages (You can use
npm
oryarn
instead ofpnpm
if you like)pnpm install
-
Apply migrations and seed the database (You can use
npm
oryarn
instead ofpnpm
if you like)pnpm db:migrate && pnpm db:seed
-
Execute the project (You can use
npm
oryarn
instead ofpnpm
if you like)pnpm run dev