vlk-cli v0.1.20
đšī¸ VLK CLI
A CLI created by VLK Studio that helps you to install our projects đĒ
đ Installation
Just install it globally:
npm install -g vlk-cli
đ Create a custom Strapi Admin Panel
Create a custom Strapi Admin Panel with support for roles, so you can choose what other user can see about your contents:
vlk create:admin
To information about the admin panel, follow this link: VLK-ADMIN
đ Available commands
Create a VLK-ADMIN + Strapi app.
vlk create:admin
If you already have installed the admin panel, you can add new model with this command:
vlk add:resource
đ Example
In this example we'll create a blog
mkdir blog
cd blog
vlk create:admin
You will ask to choose for a template, please choose the blog option.
Just wait some minutes, at the end of the proccess we will have this folder structure:
- backend
- admin
- .cli-settings.json
First of all, you have to launch strapi, add a user and make it Administrator:
cd backend
strapi develop
Go to "Users->Add new User" in the strapi admin panel and add a new user, remember to set the "Role" equals to "Administrator".
Now you can log in with the custom admin panel:
cd admin
npm start
đ Links
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago