Hi team,
We're trying to streamline the process of moving sites from our local development environment to the live server and would like some guidelines on best practice and any recommendations on how to speed up the process.
To date we have used the following basic steps for most of our sites:
1. Create fresh install of SilverStripe on live server.
2. Upload theme, assets and code. Update Config to point to new theme. Rebuild database.
3. Upload modules one by one, rebuild database each time.
4. Export local database, import into live site.
We're now experimenting with simpler methods like simply bulk uploading the entire local site, changing the settings in the config file to correspond to the live server, then importing the database, but we constantly get database errors when doing so, usually to do with modules, such as tables not being found, etc.
Please give us some insight into how we can best streamline our transfer process. What technologies can we employ to make this easier? For example, we use Composer to set up sites and add modules locally but I'm not sure how to employ this remotely?
Thanks for your help.