Getting Started
Setup Dosix
Suggestion: Yarn is recommended over npm.
Prerequisites:
Please follow the below steps to install and setup all the prerequisites:
-
Nodejs
Make sure to have Node.js installed & running on your computer. If you already have installed Node on your computer, you can skip this step if your existing node version is greater than 20. We suggest you to use LTS version of Node.js.
-
Yarn
Make sure to have the Yarn installed & running on your computer. If you already have installed Yarn on your computer, you can skip this step. We suggest you use Yarn instead of NPM.
Once you have confirmed that Node.js and Yarn/npm are installed, you can proceed with running the following commands in the terminal or command prompt from the root directory of your project to run it locally or build it for production use:
| Command | Description |
|---|---|
npm install / yarn |
To install node_modules for the project. |
npm run dev / yarn dev |
Start the development server: After the dependencies are
installed, run
npm run dev / yarn dev to start the
development server. This command will start the
Next.js development server and compile your project files. It
will also
watch for changes and automatically reload the server when you
make
edits to your code.
|