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.
Installation Guide
1. Database Connection
- 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.
- 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
2. Uploading Files to Your Server
- 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.
-
✅
After successfully connecting your database and uploading the project files, access the Admin Panel at:
yourdomain.com/admincp/signin
-
📝
To access the app or editor, go to:
yourdomain.com/signin
- 🔧 To update admin credentials or website settings, use the admin dashboard as explained below.
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:
- Use the default login details to access the Admin panel
- Click on the Profile icon located in the top right corner, then select Settings
- 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:
- Go to
yourdomain.com/signup
and create a new user account - Sign in to the Admin panel at
yourdomain.com/admincp/signin
- Navigate to All users in the dashboard
- Delete the default admin account for security
- Assign the Admin role to your new user by clicking the user button in the Role column
5. Setting Up Required Cron Jobs
To ensure subscription management works properly, you need to set up cron jobs for two important files:
- Log in to your hosting control panel (cPanel)
- Navigate to the Cron Jobs or Scheduled Tasks section
- 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)
- Command for subscription updates:
- 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)
- Command for storage management:
- 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:
- cron_job_update_subscriptions.php - Manages user subscription statuses, handles renewals and expirations
- cron_job_update_storage_subscriptions.php - Manages storage allocations and limits based on user subscription plans
6. Customizing Your Platform
- Sign in to the Admin panel at
yourdomain.com/admincp/signin
- 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
- Save your changes in each section before moving to the next
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.