- Clone the repo and
cd
into it - Run
composer install
- Rename or copy
.env.example
file to.env
- Generate the key by running
php artisan key:generate
- Set your database credentials in your
.env
file - Set your Stripe credentials in your
.env
file. SpecificallySTRIPE_KEY
andSTRIPE_SECRET
- Set your mail credentials in your
.env
file. SpecificallyMAIL_MAILER
,MAIL_HOST
,MAIL_PORT
,MAIL_USERNAME
,MAIL_PASSWORD
,MAIL_ENCRYPTION
. (You can get the username and password by creating a Mailtrap account. - Set your MailChimp credentials in your
.env
file for the newsletter. SpecificallyMAILCHIMP_APIKEY
,MAILCHIMP_LIST_ID
. (You can get those by creating a MailChimp account. - Set your Braintree credentials in your
.env
file if you want to use PayPal. SpecificallyBT_MERCHANT_ID
,BT_PUBLIC_KEY
,BT_PRIVATE_KEY
. If you don't, it should still work but won't show the paypal payment at checkout (It's necessary to uncomment the braintree section in checkout page). - Set your reCaptcha credentials in your
.env
file. SpecificallyNOCAPTCHA_SECRET
,NOCAPTCHA_SITEKEY
. - Set your
APP_URL
in your.env
file. This is needed for Voyager to correctly resolve asset URLs. - Import the database
ginfo.sql
on phpMyAdmin or runmysql -u username -p database_name < ginfo.sql
. This will create the database with all the dummy datas. - Make a symbolic link of the
storage/app/public
folder inpublic
(for the images to be displayed) - Run
php artisan serve
, the app will be available at :localhost:8000
- Visit
/admin
if you want to access the Voyager admin backend. Admin User/Password:admin@admin.com/password
.
hardevine/LaravelShoppingcart is used for the Cart.
Voyager-tcg is used for the admin dashboard.