# Setup on C-Panel

This section explains how to set up Shipboard on C-Panel or any other panel hosting servers.

WARNING

It's 2020 .. We recommend using VPS hosting. They are more reliable hosting solutions than shared hosts.

# Upload Shipboard

Using CPanel file manager, go to your public_html and upload the content of shipboard there. Make sure the content goes directly into public_html folder.

CPanel Public HTML

# Domain

In your server panel, go to domains and create a new domain. In your case we used getshipboardsaas.com.

WARNING

Note that the Document root points to /public_html/public

CPanel Add Domain

# Folder Permissions

Now go inside the folder and change the permissions of the following folders storage and bootstrap/cache to 775 by right clicking on them and choosing "change permissions"

CPanel Add Domain

# Run Installer

Before running the installer, make sure you configured .env file as explained before. After that connect to the user using SSH and go to the project root folder and run the following command:

php artisan shipboard:install

This command will run the built-in installer, and you will see the following output.

Verifying PHP version..
PHP Version is verified successfully.
Verifying PHP extensions..
PHP extensions verified successfully.
Verifying folder write permissions..
Folder permissions are verified successfully.
Generating application key..
Application key set successfully.
Application key generated successfully.
Installing the database...
...
Database installed successfully.
Configuring system settings...
System settings configured successfully.
Creating admin user..
Admin user created successfully.
Finished installing Shipboard successfully.

# Setup Cron Job

  1. Go to the CPanel then Cron Jobs and set the following configuration values.
/usr/local/bin/php /home/username/public_html/shipboard/artisan schedule:run

WARNING

Replace the paths as necessary according to your server

CPanel Add Cron Job

  1. Click on Add new Cron Job