Format: The package will be in a .zip file format.
2. Unzip the Package
Extract the contents of the downloaded .zip file to a directory on your computer.
3. Install Node Modules
Setup: Open your terminal or command prompt from the Qualrix/Landing folder.
Execute: Run the following command to install all the required Node.js packages and dependencies specified in the package.json file using Yarn:
yarn
Explanation: This command will download and install all the necessary dependencies for your project, including build tools, libraries, and plugins, ensuring your development environment is set up correctly.
4. Create a Production Build & Libraries Folder
Command: After the dependencies are installed, generate a static compiled assets with vite build by running:
yarn build:assets
Outcome: This command compiles and optimizes your assets, creating a public folder (`/public`) that contains minified and ready-to-deploy files. It ensures your project is optimized for performance in a production environment.
4. Start in Development Mode
Command: To begin development and work on your project in a live environment, execute:
node index.js
Outcome: This will launch a local development server, allowing you to preview your project in real-time. The server also provides hot-reloading, meaning any changes you make to your files will automatically refresh in your browser. It will be accessible at http://localhost:8000.