Saasify has been crafted with Laravel 8 and LiveWire, which have a few server requirements before installing. you will need to make sure your server meets the following requirements:
Before you can install Saasify, you will need to download the latest version from codecanyon on your dashboard. Buy Saasify now
{warning} In order to download a copy of Saasify you have to buy it from Codecanyon.com.
After downloading the latest version of Saasify, extract the zip file and rename it.
Great ! you are ready to begin the installation.
Create a new MySQL database and save the credentials, you will need them to fill your .env file.
.env.example
fileMake sure to specify your Environment variables for your SaaS application. Duplicate .env.example
, and rename it to .env
.
cp .env.example .env
Then, open up the .env file and update your DB_DATABASE, DB_USERNAME, and DB_PASSWORD in the appropriate fields. You will also want to update the APP_URL to the URL of your application.
APP_URL=http://your-url.com
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=saasify
DB_USERNAME=root
DB_PASSWORD=
STRIPE_KEY=Your-stripe-key
STRIPE_SECRET=Your-stripe-secret
CASHIER_CURRENCY=usd
TRIAL_DAYS_NO_PAYMENT_REQUIRE=10
ADMIN_EMAIL=your-admin-email
{warning} Don't forget to fill SMTP info on
.env
file for your app to be able to send emails and also Stripe credentials to be able to create plans and subscriptions.
Install all the composer dependencies by running the following command:
composer install
npm install && npm run dev
Migrate the database by runing :
php artisan migrate
Next seed the database with the following command: :
php artisan db:seed
you should link the public/storage
directory to your storage/app/public
directory. Otherwise, user profile photos stored on the local disk will not be available:
php artisan storage:link
For security measures you may regenerate your application key, be sure to run the following command below:
php artisan key:generate
🎉 Congratulations! You will now be able to visit your URL and see your new SaaS application up and running.
You can login with credentials:
Email: admin@admin.com
and Password: admin123
or register to create a new user.
The Next step is to setup stripe credentials and start create plans, coupons on admin dashboard. For more info go to Plan & Billing section