psst: this is my personal docs for deploying my projects..

  1. make release branch

For easier and automatic deployment lets make a release branch first, just create a new branch in your git repository and named it release

2. Ssh into your new ubuntu 20.0 and follow below setup

with yarn

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update
cd ~
curl -sL https://deb.nodesource.com/setup_14.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt install -y nodejs
sudo apt install -y build-essential
sudo apt install -y yarn
sudo yarn global add pm2


Just another simpler way to pay with Laravel ..

Not so much a-z but i hope i can help you get started.

I assume you already knew Laravel. If not well verse, the least with php basic syntax is enough ..

Part 1 : Setting up the application

Like the essence of common Laravel application — i assumed you had your laravel-installer library ready at your very finger tip, if not well then just run anywhere within your cmd/terminal composer global require laravel/installer and you can continue onwards —

Lets create our e-commerce application folder by running,

laravel new ecommerce

neonexxa

can be easily googled

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store