by Yadome group (ยาดม กรุ๊ป)
This guide provides step-by-step instructions to run the Next.js project located in the b2d-venture
directory.
Before running the project, ensure that you have the following installed:
-
Node.js: Version 14.x or later
- Download and install from Node.js official website.
-
npm or yarn:
- npm comes with Node.js. To check if npm is installed, run:
npm -v
- Alternatively, you can use
yarn
. Install it globally with:npm install -g yarn
- npm comes with Node.js. To check if npm is installed, run:
-
Git:
- Install Git from Git official website.
If you haven’t already, clone the project repository using Git:
git clone https://github.com/woraamy/B2D-Venture.git
Change your current working directory to the b2d-venture project folder:
cd b2d-venture
Install the project dependencies using npm or yarn:
- Using npm
npm install
- Using yarn
yarn install
Create a .env file in the root of the project and add the required environment variables. You can find the environment variables in the security report for the list of required variables.
Start the Next.js development server:
- Using npm
npm run dev
- Using yarn
yarn dev
The development server will start, and you can access the project in your browser at http://localhost:3000