Skip to content

marwa154/Veardia-Test

Repository files navigation

Vaerdia Test

Prerequisites

  • Npm
  • PM2

Setup

  1. Install dependencies
    npm i
  2. Create .env using the example.env file and update it values.

Development

Start development server by running the following command:

    npm run dev

Deployment

  1. Install dependencies

    npm i
  2. Build project

    npm run build
  3. Start a pm2 process

    pm2 start npm --name [NAME OF PROJECT] run preview

    Production

  4. Install dependencies

    npm i
  5. Build project

    npx vite build
  6. Start a pm2 process

     pm2 start npm --name [NAME OF PROJECT] run preview
  7. Restart a pm2 process

    pm2 list

    check process number

    pm2 restart [IdProject]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published