https://github.com/ryan-mahoney/orchestrate
Command line tool for creating, deploying, building and testing universal application.
https://github.com/ryan-mahoney/orchestrate
deployment
Last synced: 12 months ago
JSON representation
Command line tool for creating, deploying, building and testing universal application.
- Host: GitHub
- URL: https://github.com/ryan-mahoney/orchestrate
- Owner: ryan-mahoney
- Created: 2016-11-15T15:01:14.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-17T01:18:58.000Z (over 9 years ago)
- Last Synced: 2025-04-02T18:16:54.530Z (about 1 year ago)
- Topics: deployment
- Language: Shell
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Orchestrate
===========
### Overview
Orchestrate is a small shell script that handles all aspects of building and deploying universal Opine applications. An Opine application is an opinionated PHP application that renders React on the front and backend.
### Installation
Orchestrate resides in a folder adjacent to the project it manages. The directory tree should look like this:
```sh
- project-name/
-- app/
-- orchestrator/
```
You can create this structure by:
```sh
mkdir MyProject
cd MyProject
git --git-dir=/dev/null clone --depth=1 git@github.com:ryan-mahoney/universal-react-php-app.git app
git --git-dir=/dev/null clone --depth=1 git@github.com:ryan-mahoney/orchestrate.git
```
### Commands
**Building**
*compose-backend [command]:* run php compose for the backend code.
*build-backend [command]:* build cached aspects of the backend code.
*build-frontend:* run webpack in foreground.
**Setup**
*init-local:* setup up orchestrate configuration directory.
*id-make [env]:* make an identity for accessing remote server.
*id-public [env]:* show public key.
*htpasswd:* set the password used by nginx for securing certain HTTP end-points.
*set-remote-addr env ip:* set the remote IP address for an environment.
*init-remote [env]:* setup Docker on a new remote cloud server.
**Deployment**
*deploy [env]:* deploy the application to an environment.
*versions:* show all historical deployments.
*current:* show the current deployment number.