Having successfully covered the prerequisites in the previous section, let's dive into the practical aspects of setting up spurtCMS Admin application. This technical tutorial will guide you through the steps necessary to get your spurtCMS Admin instance up and running smoothly.
Step 1: Download the source files:
Clone the Git repository that contains spurtCMS Admin project files, and .env file from the path https://github.com/spurtcms/spurtcms using the “git clone” command.
git clone https://github.com/spurtcms/spurtcms
After successful git clone, you should see a folder “spurtcms-admin” with folders locales, view, storage, public and .env, file.
Step 2: Database Setup:
- spurtCMS supports PostgreSQL and MySQL. You need to configure the following environment variables in your .env file:
- Locate the .env file inside the project folder “spurtcms-admin-app” and configure it with the details of newly created database to use either PostgreSQL or MySQL such as database type,name, user name, password etc
DATABASE_TYPE=postgres # Use 'postgres' for PostgreSQL or 'mysql' for MySQL
DB_HOST=localhost # Database host
DB_PORT=5432 # Port for PostgreSQL (use 3306 for MySQL)
DB_DATABASE=your_database_name # Name of your database
DB_USERNAME=your_username # Database username
DB_PASSWORD=your_password # Database password
DB_SSL_MODE=disable
Successful completion of this step completes the database configuration for spurtCMS Admin application.
Step 3: Environment Variables for AWS S3:
spurtCMS application uses AWS S3 for file storage. You need to configure the following environment variables in your .env file:
AWS_ACCESS_KEY_ID=your-access-key-id
AWS_SECRET_ACCESS_KEY=your-secret-access-key
AWS_DEFAULT_REGION=your-region
AWS_BUCKET_NAME=your-bucket-name
Step 4: Running the Project
Open the terminal within the project / cloned folder “spurtcms-admin”, and execute the following command:
go run main.go
This command initiates the spurtCMS Admin application, allowing you to begin your journey with this powerful content management system.
By following the steps outlined in this article, you have successfully set up spurtCMS Admin on your system. Ensure that all prerequisites are met and the configuration steps are accurately executed to enjoy a seamless experience with spurtCMS Admin application. Now you can explore the features and functionalities of spurtCMS Admin for efficient content management.
live demo of our intuitive Admin Panel .
Username : spurtcmsAdmin
Password : Admin@123