Command Lines

To securely copy files from/to local computer to/ from remote server: scp <file_path> <user>@<remote_host>:<remote_dir> scp <user>@<remote_host>:<remote_file_path> <local_dir> Source: Transferring files between remote server and local system To create a symlink ln -s /path/to/original /path/to/link so on local system, for example, to create a link that points to download folder (so that you’ll have an access […]

Laravel site update

I needed to deploy the updates to the live site. Edited (12/4/2019)This has been the third time to update the site. I found the better and faster way to update. Step 1: Create a database Export database from the current database. Create a new empty database. Import the database you just exported. Step 2: Create […]