Starting Pal.js UI from gatsby-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 gatsby-admin-template application. The easiest way to do that is to clone GitHub repository:
git clone https://github.com/paljs/gatsby-admin-template.git
After the clone completed, you need to install npm modules:
cd gatsby-admin-template && npm i || yarn
To run a local copy in development mode, execute:
npm run dev || yarn dev
Go to http://localhost:8000 in your browser.
To create a bundle in production mode, execute:
npm run build || yarn build
This will clear up your
public folder (where release files located) and generate a release build.
Now you can copy the sources from the
public folder and use it with any backend frameworks