Introduction to Graphica

🙏 Thank you for choosing Graphica!

Graphica, created by Birju Gurung, is a user-friendly, AI-powered SaaS tool designed to make graphic design accessible to everyone.

With Graphica, anyone can create stunning graphics without specialized design skills. The intuitive interface makes professional-quality design easy and efficient.

📝 Note: This web application is optimized for desktop use only. The interface is not responsive for mobile devices.

Installation Guide

1. Database Connection

  1. Log in to your cPanel and create a new database. Once created, open phpMyAdmin and import each .sql file from the 'sql' folder into the newly created database one by one.
  2. Open the .env file located in the main folder. Update all fields with your correct information, then save the file.

You'll need to obtain API keys from the following platforms:

1 | Google Fonts: https://console.cloud.google.com/

2 | Pixabay: https://pixabay.com/

3 | StabilityAI: https://stability.ai/

4 | PayPal: https://paypal.com

5 | Google reCAPTCHA(v3): https://www.google.com/recaptcha/admin/create

🔒 Important: After editing the .env file, keep it secure. Never share it publicly as it contains sensitive information such as API keys, database credentials, and secret tokens.

2. Uploading Files to Your Server

  1. Upload all files from the main folder to your server using either FTP or cPanel File Manager. Make sure to maintain the original folder structure.

3. Updating Admin Dashboard Credentials

Access the admin panel at: yourdomain.com/admincp/signin

The default login credentials are:

Username: admin@admin.com

Password: admin

Follow these steps to update your admin credentials:

  1. Use the default login details to access the Admin panel
  2. Click on the Profile icon located in the top right corner, then select Settings
  3. Update your email address and password, then save your changes

4. Setting Up App/Editor Admin Access

To create a new admin account for the app/editor:

  1. Go to yourdomain.com/signup and create a new user account
  2. Sign in to the Admin panel at yourdomain.com/admincp/signin
  3. Navigate to All users in the dashboard
  4. Delete the default admin account for security
  5. Assign the Admin role to your new user by clicking the user button in the Role column
⚠️ Important: Users with Admin privileges can save templates, elements, and other resources that will be accessible globally by all users through the app/editor. Assign this role carefully.

5. Setting Up Required Cron Jobs

To ensure subscription management works properly, you need to set up cron jobs for two important files:

Important: Without proper cron job setup, subscription updates and storage management will not function correctly.
  1. Log in to your hosting control panel (cPanel)
  2. Navigate to the Cron Jobs or Scheduled Tasks section
  3. Create a new cron job with the following settings:
    • Command for subscription updates:
      php /path/to/your/main/folder/cron_job_update_subscriptions.php
    • Schedule: Once daily (recommended time: midnight/0:00)
  4. Create a second cron job with the following settings:
    • Command for storage management:
      php /path/to/your/main/folder/cron_job_update_storage_subscriptions.php
    • Schedule: Once daily (recommended time: 1:00 AM)
  5. Save your cron job configurations

Example cPanel Cron Command:

00 0 * * * php /home/username/public_html/cron_job_update_subscriptions.php

00 1 * * * php /home/username/public_html/cron_job_update_storage_subscriptions.php

These cron jobs perform the following essential functions:


6. Customizing Your Platform

  1. Sign in to the Admin panel at yourdomain.com/admincp/signin
  2. Navigate through the dashboard to customize:
    • Landing page content and layout
    • Branding elements (logo, colors, fonts)
    • Blog posts and categories
    • Payment settings
    • User subscription plans
  3. Save your changes in each section before moving to the next
Congratulations! 🎉
You've successfully set up your SaaS graphic design platform! Your instance of Graphica is now ready to accept users and help them create amazing designs.

Contact & Support

For any questions, feature requests, or support regarding Graphica, please reach out through the same platform where the source code was obtained. Assistance will be provided through that channel.