Installation
In this part of the documentation, we are going to show you how to install and deploy the NextAdmin Boilerplate.
Before we start the installation process, make sure you have Node.js installed on your machine. You can download it from Node.js (opens in a new tab).
Get the Template
The easiest way to get started is by cloning the repository directly from GitHub.
- Clone the repository:
terminal
git clone https://github.com/NextAdminHQ/nextjs-admin-dashboard.git - Navigate to the project folder:
terminal
cd nextjs-admin-dashboard
Alternative: Download and Start
You can also download the source code as a zip file from your NextAdmin account.
- Download the zip file from your dashboard.
- Extract the zip file and navigate into the folder.
Install Dependencies
Once you are inside the project folder, install the required dependencies.
npm installConfigure Environment Variables
Copy and paste the .env.example file to .env.local and update the environment variables with your configuration.
cp .env.example .env.localStart Development Server
Once environment variables are set up, you can launch the template on your local server.
npm run devYour application will be live at http://localhost:3000 (opens in a new tab)