Appearance
Install InfyCal
Once you purchase InfyCal system then you will be able to find the zip named dist.zip
Extract that file on your local and follow the following steps:
Copy files to Web Server
Upload dist.zip
to your web server's root (public_html) and extract it there.
Default Database Setup
- Open PHPMyAdmin on your server and do a login.
- Click on the Databases tab.
- Create a new database and specify a Database name of your choice and Click Create button.
- Now on the left, select the database (infycal) OR the one that you have created.
- Click Import in the top menu
- Under Import, choose the default sql file from
dist/database/infycal.sql
and click button Go.
Environment Variables
Open .env
file from your server's root folder.
You need to change the following information into your environment (.env) file.
App name and URL Setup
ini
APP_NAME="App Name"
APP_URL="https://your-domain.com"
Database Setup
ini
DB_HOST="DB Host here"
DB_PORT="3306" // this may changed as per your DB
DB_DATABASE="DB Name"
DB_USERNAME="DB Username"
DB_PASSWORD="DB Password"
Email Setup
You will also need to set up mail configuration and update the following variables. You can use the below video for the reference on how to setup email configuration for cPanel servers.
ini
MAIL_DRIVER=
MAIL_HOST=
MAIL_PORT=
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=
MAIL_FROM_ADDRESS=
MAIL_FROM_NAME="Your App Name"
Amazon S3 Storage Setup
If you want to store your files to direct your s3
bucket then you have to use following .env
variables. You need to change FILESYSTEM_DRIVER
and MEDIA_DISK
value to s3
when you are using AWS file storage.
ini
FILESYSTEM_DRIVER=s3
MEDIA_DISK=s3
ini
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=
AWS_BUCKET=
AWS_ENDPOINT=
AWS_URL=
Or you can use your choice of storage driver to store your media assets if you want. All of your attachments will be placed into that.
Stripe Setup
Set Stripe configuration it is using while payments. Here is some links by using it you will get an idea about how to generate stripe API keys.
ini
STRIPE_KEY=
STRIPE_SECRET_KEY=
PayPal Setup
Set up the Paypal Credentials into env:
You have to create account from Here and then you can find steps here to generate keys from Here or Here
ini
PAYPAL_CLIENT_ID=
PAYPAL_SECRET=
# change mode to "live" while moving to production
PAYPAL_MODE="live"
Paystack Setup
Set up the Paystack Credentials into env:
You have to create account from Here and then you can find steps here to generate sectet keys Here
Please use your email into Merchant Email
ini
PAYSTACK_PUBLIC_KEY=
PAYSTACK_SECRET_KEY=
PAYSTACK_PAYMENT_URL=https://api.paystack.co
PAYSTACK_MERCHANT_EMAIL=
DO NOT FORGET TO FOLLOW GIVEN STEP : Also please set the redirect/callback URL to APP_URL/paystack-payment-success
from your paystack account.
Razorpay Setup
Set up the Razorpay Credentials into env:
You have to create account from Here and then you can find steps here to generate keys Here
ini
RAZORPAY_KEY=
RAZORPAY_SECRET=
Google Calendar Setup
Follow below guide to make the Google Calendar Integration works. you need to set following env. You need to enable the google calendar API, Please Click Here to generate the the OAuth file.
Also Watch this video to get the file.
Set the redirect URL to : YOUR_APP_URL/google/redirect
Example: https://infy-cal.com/google/redirect
Put the downloaded file to storage/your-file-name.json
ini
GOOGLE_OAUTH_PATH="your-file-name.json"
And you should be ready to go.
Cron Jobs Setup
Enable appointment reminder in cPanel. Here is the link by using it you will get an idea about how to set the cron for the appointment reminders.
How to setup cron job into Cpanel for Laravel?
Admin login
You can log in as admin using below credentials.
Admin Credentials:
YOUR_APP_URL/login
Email / Password: admin@infycal.com
/ 123456