PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Solved

Problems installing Wave

Solved
makemovesthatmatter

Jun 27th, 2023 10:06 AM

Hello everyone, I am attempting to install Wave to test it out (looks AWESOME!) but I am having issues installing.

I have followed each step of the installation perfectly from this page: https://wave.devdojo.com/docs/installation

Here are the steps I've completed to install:

  1. Create a new MySQL DB
  2. Copy .env.example to a plain .env file
  3. Change APP_URL to my own url in .env
  4. Update MySQL info in .env
  5. Installed all Composer dependencies (all successful, no errors)
  6. Verified all PHP Extensions are installed and enabled
  7. Ran the DB Migrations and Seeded the DB

After all of these steps, the installation guide says I'll be able to visit my site and see it up and running... But all I have now is a 403 Forbidden code.

I tried setting APP_DEBUG to true, but that doesn't do anything...

makemovesthatmatter

Jun 27th, 2023 10:08 AM

Also -- I did verify that the the DB info was migrated and seeded correctly. All of the tables are appearing in my MySQL DB.

bobbyiliev

Jun 27th, 2023 12:05 PM

Hi there,

All of the steps that you've specified are related to the database side of things, the 403 error means that the web server itself is not configured correctly.

Can you share a bit more information about:

  • What operating system are you using?
  • What is the web server that you are using?
  • Have you checked the error log of your web server for any more information?
  • Can you share your web server configuration here as well?
Report
1
makemovesthatmatter

Jun 27th, 2023 01:39 PM

Hey Bobby,

I am using my own VPS with CentOS 7 on WHM/Apache.

I cannot seem to find an error log for this issue, I need to review my server settings.

Are there any specific configurations my server should be set to for Wave?

makemovesthatmatter

Jun 27th, 2023 01:47 PM

I have enabled "display_errors" for PHP, but no errors are being displayed...

bobbyiliev

Jun 27th, 2023 01:59 PM

Best Answer

Hey!

Thank you for sharing this extra information.

The 403 error in this case most likely means that your document root directory (the public_html directory in the context of cPanel) is not set to the public directory of Wave.

You can either change the document root of your site to point to the public directory of Wave so that it loads the correct index.php file, or you can try out the following .htaccess rule instead:

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^(.*)$ public/$1 [L]
</IfModule>

Wave is just a standard Laravel app, so you would deploy it as you would any other Laravel application.

Let me know how it goes!

makemovesthatmatter

Jun 27th, 2023 03:07 PM

Bobby, this worked for me!! Thanks so much :)

Report
1
bobbyiliev

Jun 28th, 2023 01:38 AM

No problem at all! Happy to hear that it is all working now!