humanmade / humanmade/altis-local-server

Add import feature to sync a cloud environment to local server

Open
#481 2 comments 0 reactions 0 assignees View on GitHub
should have ux
Dominant language
PHP
Stars
18
Forks
5
Avg merge
8d 1h
Merged PRs (30d)
11

Description

Work in progress here: #345

### Description
It's a common workflow to import a backup from the cloud environment to work on locally, in particular when reproducing bugs. We can make this pretty straightforward by handling the download, unpacking and subsequent series of CLI commands required:

- db import
- search replace
- media upload
- s3 import
- cache flush
- ES reindexing

- Developers can copy an export URL Altis Dashboard and append it to the command `composer server import`. The command should be able to receive a URL or a path.

### Acceptance criteria:
- [ ] Developers should be able to import a backup with a command like `composer server import /`, with the URL being an export URL from the Altis Dashboard.
- [ ] Document the feature in the local-server docs.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.