SaaSWeb has been crafted with Laravel 5.8 and vue, which have a few server requirements before installing. you will need to make sure your server meets the following requirements:
For security measures you may regenerate your application key, be sure to run the following command below:
php artisan key:generate
Create a new MySQL database and save the credentials, you will need them to fill your .env file.
Make sure to specify your Environment variables for your great saas application. Duplicate
.env.example, and rename it to
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=saasweb DB_USERNAME=root DB_PASSWORD=
Install all the composer dependencies by running the following command:
Migrate the database by runing :
php artisan migrate
Next seed the database with the following command: :
php artisan db:seed
Next, you should run the
passport:install command. This command will create the encryption keys needed to generate secure access tokens.
php artisan passport:install
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
🎉 Congratulations! You will now be able to visit your URL and see your new SaaS application up and running.
You can go to
http://your-domaine.com/register to create a new user
You can now create and assign the newly created user a super / root admin role. To so run this command:
php artisan admin:assign-role email@example.com admin-root
firstname.lastname@example.org an existing user email.
admin-rootis the default root Admin role.