You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Import: composer server cli -- db import <db file path>
Search & replace with example, note must be to a subdomain of altis.dev
Document synchronising uploads to S3 container:
composer server cli -- s3-uploads upload-directory content/uploads uploads
Explainer eg. S3 is more like a database than standard file storage
Note that anything uploaded to the site will automatically be synced to the local uploads directory
Side note that for Altis v4 image import will be composer server import-uploads, we can update that once this initial guide has been merged and backported.
Troubleshooting section:
Flushing the cache
The text was updated successfully, but these errors were encountered:
roborourke
changed the title
Add guides for importing existing databases to the local environments
Add guides for importing existing databases and uploads to the local environments
Mar 19, 2020
These steps may have changed since we originally wrote this; additionally, the simplified command we're discussing in humanmade/altis-local-server#345 are likely to change the process here again.
The getting started guide assumes people are starting from scratch and doesn't help much with regards to importing existing databases.
We should add a guide for this and link to it from the end of the getting started section as well.
Note: Blocked on humanmade/altis-dev-tools#206 which will change which commands to document and run.
Acceptance criteria:
content/uploads
For Local Chassis:
composer chassis exec -- wp db import <db file path>
For Local Server:
composer server cli -- db import <db file path>
altis.dev
composer server cli -- s3-uploads upload-directory content/uploads uploads
Side note that for Altis v4 image import will be
composer server import-uploads
, we can update that once this initial guide has been merged and backported.Troubleshooting section:
The text was updated successfully, but these errors were encountered: