Starting Pal.js UI from nextjs-admin-template starter kit is the easiest way to run your first Pal.js UI application.
To install gatsby-admin-template on your machine you need to have the following tools installed:
- Git - https://git-scm.com
- Node.js - https://nodejs.org Please note the version should be >=8
- Npm - Node.js package manager, comes with Node.js. Please make sure npm version is >=5
- You might also need some specific native packages depending on your operating system like
When you completed tools setup, you need to download the code of nextjs-admin-template application. The easiest way to do that is to clone GitHub repository:
git clone https://github.com/paljs/nextjs-admin-template.git
After the clone completed, you need to install npm modules:
cd nextjs-admin-template && npm i || yarn
To run a local copy in development mode, execute:
npm run dev || yarn dev
Go to http://localhost:3000 in your browser.
To create a bundle in production mode, execute:
npm run build || yarn build
This will clear up your
.next folder (where release files located) and generate a release build.
Now you can copy the sources from the
.next folder and use it with any backend frameworks