This guide provides step-by-step instructions for installing and running SpurtCMS using its CLI.
Step 1: Set Up PostgreSQL Database
Ensure PostgreSQL is installed and running on your system.
Step 2: Install SpurtCMS CLI
To install the SpurtCMS CLI globally, use the following command:
$ sudo snap install spurtcms
Upon successful installation, you should see:
Step 3: Create a Local Project Folder
Create a new directory where you want the SpurtCMS application to reside:
mkdir my-project
cd my-project
Open a terminal in this directory to proceed.
Step 4: Initialize SpurtCMS Project
Run the following command to initialize the SpurtCMS project structure:
$ spurtcms -i app
You will be prompted to provide the PostgreSQL details:
Step 5: Start the SpurtCMS Application
To start the application, use the following command:
$ sudo sh ./spurtcms.sh start
If successful, you will see:
Once all the dependencies are installed, you are ready to use Spurtcms application in your system!
Default credentials:
username: spurtcmsAdmin
password: Admin@123