An open API service indexing awesome lists of open source software.

https://github.com/getshifter/shifter-artifact-helper

Artifact helper tool for Shifter
https://github.com/getshifter/shifter-artifact-helper

mu-plugins shifter

Last synced: 11 months ago
JSON representation

Artifact helper tool for Shifter

Awesome Lists containing this project

README

          

# Shifter Artifact Helper

[![CircleCI](https://circleci.com/gh/getshifter/shifter-artifact-helper.svg?style=svg)](https://circleci.com/gh/getshifter/shifter-artifact-helper)

Artifact helper tool for Shifter –  Serverless WordPress Hosting

## Integration test

Sandbox

1. import wp data built with template theme-unit-test-data.xml.
2. check `/?urls`

### launch wp for test

```
$ docker pull getshifter/shifter_local:develop
$ make prepare
$ docker-compose build --no-cache
$ docker-compose up
```

open `https://127.0.0.1:8443`

run test for containers which is launched by `docker-compose up`.

```
$ cd integration_test
$ bundle install
$ bundle exec ruby ./entry.rb
```

### update contents for wp

```
$ make prepare
$ docker-compose build --no-cache
$ docker-compose up
```

edit by wp-admin...

after edit.

```
$ docker-compose exec wp /scripts/db_export.sh
```

> Success: Exported to '/mnt/dump/wp.sql'.