How to move localhost Aimeos onto Production Server

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
gladgladwrap
Posts: 10
Joined: 27 Jan 2018, 22:10

How to move localhost Aimeos onto Production Server

Post by gladgladwrap » 12 Feb 2018, 10:11

Hey Aimeos, I am working on a Mac with Laravel 5.5, PHP 7.1.12, and Aimeos 2017.10, because I ran into some glitches with the 2018 release one month back.

I would like to move my Aimeos project onto a live server. I've already done my database export with mysqldump and then I imported it without a problem onto my phpMyAdmin on my live server.

I was going to FTP my myshop/ over just to see how it all works, but it was a total of 52 000 files -- and that was excluding my vendor/ and node_modules/ . Should I be deleting any directories before moving over to production?

What's the best way to push my project to production? Maybe use terminal's scp (secure copy) or git?

Thanks
PHP 7.1.14, Aimeos 2017.10, Laravel 5.5.39 (php artisan --version)

Travin
Posts: 70
Joined: 18 Dec 2017, 03:12

Re: How to move localhost Aimeos onto Production Server

Post by Travin » 12 Feb 2018, 13:47

Hi!
I think you can pack it to .zip before uploading to the server. Then unpack it there. It will be much much faster. I'm always doing so
Laravel 6.18.19 | php 7.4.7 | Xubuntu | Aimeos Laravel 2019.10.5

antonlinderer
Posts: 42
Joined: 14 Sep 2017, 09:59

Re: How to move localhost Aimeos onto Production Server

Post by antonlinderer » 12 Feb 2018, 15:08

Best way is to use Git... there is a good document on this at: https://devmarketer.io/learn/deploy-lar ... ntu-nginx/
You might only need it from "Step 11: Install Git" onwards...

User avatar
aimeos
Administrator
Posts: 7893
Joined: 01 Jan 1970, 00:00

Re: How to move localhost Aimeos onto Production Server

Post by aimeos » 12 Feb 2018, 22:48

If you have shell access, use git and composer so you can update your installation to a new minor version at any time without hassle
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply