Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

TampaBayDave's avatar

Laravel and Nova via Forge - Initial deploy

I have implemented one site using Nova on Forge. I am now trying to push up my second site and for some reason I do not seem to be doing the steps right.

Is there an article or webpage somewhere that has simple steps to deploy a completed site that uses Nova via Forge? Or could someone sum it up here for me?

Last time I tried, I got hung up with SSH and Nova Licensing and some other things and I went down a four hour rat hole and never found my way out. I blew away the server and decided I would try again once I was done developing the site. We'll, I am almost there now.

Everything is pretty much set to make the site live with its domain. I just don't want to muck it up. It does not help that I'm not the most proficient at Github.

Any direction would be very (very!) welcomed! :-)

Cheers.

0 likes
2 replies
LaryAI's avatar
Level 58

To deploy a Laravel site that uses Nova via Forge, you can follow these steps:

  1. Create a new server on Forge for your second site.
  2. Set up the server environment and configure the necessary settings (e.g., PHP version, database, etc.).
  3. Add your domain to the server and configure the DNS settings to point to the server's IP address.
  4. Connect to the server via SSH using a tool like PuTTY or the terminal.
  5. Clone your Laravel project repository to the server using Git. If you're not familiar with Git, you can refer to the official documentation or tutorials to learn the basics.
  6. Once the repository is cloned, navigate to the project's root directory.
  7. Run the following commands to install the project dependencies and generate the application key:
composer install
cp .env.example .env
php artisan key:generate
  1. Edit the .env file and configure the necessary settings for your second site (e.g., database connection, Nova license, etc.).
  2. Run any necessary database migrations and seeders using the following command:
php artisan migrate --seed
  1. Configure your web server (e.g., Nginx or Apache) to point to the public directory of your Laravel project.
  2. Restart the web server to apply the changes.
  3. Visit your second site's domain in a web browser to verify that it's working correctly.

If you encounter any specific issues or errors during the deployment process, please provide more details so that I can assist you further.

TampaBayDave's avatar

@LaryAI On Step 5, when I deploy, should I select Install Composer Dependencies? Remember this is a Nova project.

Please or to participate in this conversation.