Install InfyVCards-SaaS
If you have purchased the InfyVCards-SaaS system then you will be able to find dist.zip
within the main zip.
Video Tutorials
You can also follow the video below for video tutorial of the installation process.
Extract that file on your local and follow the following steps:
1. Copy files to web server
Upload dist.zip
to your web server's root (public_html) and extract it there.
2. Setup Default DB
- 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 (infy_vcards) OR the one that you have created.
- Click Import in the top menu
- Under Import, choose the default sql file from
dist/database/infy_vcards.sql
and click button Go.
3. Setup environment .env file
Database Setup
Open .env file from your server's root folder.
You need to change the following information into your environment (.env) file.
- APP_NAME - Name of your Application/Library System
- APP_URL - Change this URL with your server URL (including trailing path if you are putting it in sub folder or root website)
- DB_HOST - Put your database hostname here
- DB_PORT - Put your database port here if it does not default to 3306
- DB_DATABASE - Change it to your database name
- DB_USERNAME - Name of your database user
- DB_PASSWORD - Password of your database user
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.
- MAIL_DRIVER
- MAIL_HOST
- MAIL_PORT
- MAIL_USERNAME
- MAIL_PASSWORD
- MAIL_ENCRYPTION
- MAIL_FROM_ADDRESS
- MAIL_FROM_NAME
AWS 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.
- AWS_ACCESS_KEY_ID=
- AWS_SECRET_ACCESS_KEY=
- AWS_DEFAULT_REGION=us-east-1
- 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 IPD payments. Here is some links by using it you will get an idea about how to generate stripe API keys.
Paypal Setup
Set PayPal configuration it is using while IPD payments. Here is some links by using it you will get an idea about how to generate PayPal API keys.
RazorPay Setup
Set RazorPay configuration it is using while IPD payments. Here is some links by using it you will get an idea about how to generate RazorPay API keys.
Google Login Setup
Set the Google social login. Here are some links by using it you will get an idea about how to generate Google API keys.
-
- GOOGLE_CLIENT_ID= - GOOGLE_CLIENT_SECRET= - GOOGLE_REDIRECT={APP_URL}/login/google/callback
Note: {APP_URL} should be replaced by your domain. e.g https://my-domain.com/login/google/callback
Facebook Login Setup
Set the facebook social login. Here are some links by using it you will get an idea about how to generate Facebook API keys.
-
- FACEBOOK_APP_ID= - FACEBOOK_APP_SECRET= - FACEBOOK_REDIRECT={APP_URL}/login/facebook/callback
Note: {APP_URL} should be replaced by your domain. e.g https://my-domain.com/login/google/callback
Cron jobs Setup
Set sitemap generation in cPanel. Here is the link by using it you will get an idea about how to set the cron for the sitemap generation.
And you should be ready to go.
4. Admin login
You can log in as admin using below credentials.
Super Admin Credentials:
Email / Password : sadmin@vcard.com / 123456
User Credentials:
Email / Password : admin@vcard.com / 123456