psst: this is my personal docs for deploying my projects..
For easier and automatic deployment lets make a release branch first, just create a new branch in your git repository and named it
2. Ssh into your new ubuntu 20.0 and follow below setup
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
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
can be easily googled