### Install Dependencies and Run Development Server Source: https://github.com/mesh2motion/mesh2motion-app/blob/main/README.md Install project dependencies and start the local development server. Ensure Node.js is installed. ```bash npm install npm run dev ``` -------------------------------- ### Run Project with Docker Source: https://github.com/mesh2motion/mesh2motion-app/blob/main/README.md Build and run the Mesh2Motion project using Docker and Docker Compose. Ensure Docker is installed and running. ```bash docker-compose up -d ``` -------------------------------- ### List Cloudflare D1 Databases Source: https://github.com/mesh2motion/mesh2motion-app/blob/main/survey/readme.md Use this command to get the UUID of your Cloudflare D1 database. ```bash npx wrangler d1 list ``` -------------------------------- ### Create Production Build Source: https://github.com/mesh2motion/mesh2motion-app/blob/main/README.md Build the project for production deployment. This command generates a 'dist' folder containing all necessary files. ```bash npm run build ``` -------------------------------- ### Run Unit Tests Source: https://github.com/mesh2motion/mesh2motion-app/blob/main/TESTING.md Execute all unit tests using npm. This command is used for local testing and development. ```bash npm test ``` -------------------------------- ### Create Survey Responses Table Source: https://github.com/mesh2motion/mesh2motion-app/blob/main/survey/readme.md Execute this command to create the table that will store survey responses. Ensure you have the correct database name. ```bash npx wrangler d1 execute m2m-survey-responses --remote --file=survey/schema.sql ``` -------------------------------- ### Deploy Survey Worker Source: https://github.com/mesh2motion/mesh2motion-app/blob/main/survey/readme.md Run this command to deploy the new worker that will process incoming survey responses. ```bash npx wrangler deploy ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.