Skip to content

Commit 5f4d963

Browse files
Merge branch 'master-v4' into master-v4-merge
2 parents bde6d38 + 77f268f commit 5f4d963

File tree

146 files changed

+20248
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+20248
-0
lines changed

.editorconfig

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This file is for unifying the coding style for different editors and IDEs
2+
# editorconfig.org
3+
4+
# WordPress Coding Standards
5+
# http://make.wordpress.org/core/handbook/coding-standards/
6+
7+
root = true
8+
9+
[*]
10+
charset = utf-8
11+
end_of_line = lf
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
indent_style = tab
15+
indent_size = 4
16+
17+
[*.{json,yml,feature}]
18+
indent_style = space
19+
indent_size = 2
20+
21+
[composer.json]
22+
indent_style = space
23+
indent_size = 4

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Auto detect text files and perform EOL normalization
2+
* text=auto eol=lf
3+
tests/data/*-win.php eol=crlf

.github/CONTRIBUTING.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Community Guidelines
2+
3+
This guide details how to get involve in EasyEngine commmunity. Please read this carefully.
4+
5+
6+
7+
## How to get help?
8+
9+
Please attach the output of following command when open a new support request.
10+
11+
```bash
12+
lsb_release -a
13+
ee cli version
14+
ee cli info
15+
wp --allow-root --info
16+
```
17+
18+
### Where to create issue?
19+
20+
For free support, please use - http://community.rtcamp.com/c/easyengine
21+
22+
Please do NOT clutter github issue tracker here with support requests. It hampers development speed of this project.
23+
24+
25+
### Pull Requests
26+
27+
When submitting your code please follow this coding standerds - http://docs.rtcamp.com/easyengine/dev/python/
28+
29+
30+
### EasyEngine Chat
31+
32+
Developer & contributor discussion: https://gitter.im/rtCamp/easyengine
33+
34+
Please do NOT use chat for technical support. Chat is limited to developer & contributor disucssion related to EasyEngine future.

.github/ISSUE_TEMPLATE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
This issue tracker is only for issues related to EasyEngine. Please use http://community.rtcamp.com/c/easyengine for support questions.
2+
3+
If you feel the issue is a EasyEngine specific issue, please attach the output of the following commands.
4+
5+
System Information
6+
- [ ] ee cli info
7+
- [ ] lsb_release -a
8+
- [ ] docker version
9+
- [ ] docker-compose version

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.DS_Store
2+
config.yml
3+
PHAR_BUILD_VERSION
4+
/cache
5+
/packages
6+
/vendor
7+
/*.phar
8+
/phpunit.xml.dist
9+
/codesniffer
10+
/PHP_Codesniffer-VariableAnalysis
11+
.*.swp
12+
launch.json
13+
ee.iml
14+
modules.xml
15+
php.xml
16+
php-test-framework.xml
17+
vcs.xml
18+
workspace.xml
19+
profiles_settings.xml
20+
Project_Default.xml
21+
.idea

.travis.yml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
sudo: required
2+
3+
language: php
4+
php: 7.0
5+
6+
env:
7+
global:
8+
- PATH="$TRAVIS_BUILD_DIR/vendor/bin:$PATH"
9+
10+
before_install:
11+
- sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
12+
- |
13+
# Remove Xdebug for a huge performance increase:
14+
if [ -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ]; then
15+
phpenv config-rm xdebug.ini
16+
else
17+
echo "xdebug.ini does not exist"
18+
fi
19+
- |
20+
# Update commands in composer.json to develop if branch is not master.
21+
if [[ "$TRAVIS_BRANCH" != "master-v4" ]]; then
22+
sed -i 's/\(easyengine\/.*\):\ \".*\"/\1:\ \"dev-develop\"/' composer.json
23+
fi
24+
25+
install:
26+
- |
27+
# Run composer install for master else update.
28+
if [[ "$TRAVIS_BRANCH" = "master-v4" ]]; then
29+
composer install --no-interaction
30+
else
31+
composer update
32+
fi
33+
- sudo ./ci/test-env-install.sh
34+
35+
before_script:
36+
- composer validate
37+
- ./ci/prepare.sh
38+
39+
script:
40+
- sudo ./vendor/bin/behat
41+
- ./ci/test-commands.sh
42+
43+
after_script:
44+
- cat /opt/easyengine/logs/install.log
45+
- cat /opt/easyengine/logs/ee.log
46+
47+
jobs:
48+
include:
49+
- stage: deploy
50+
env: DEPLOY_BRANCH=master-v4
51+
after_success: ./ci/deploy.sh
52+
53+
cache:
54+
directories:
55+
- $HOME/.composer/cache
56+
57+
branches:
58+
only:
59+
- develop-v4
60+
- master-v4
61+
62+
notifications:
63+
email:
64+
on_success: never
65+
on_failure: change
66+
67+
addons:
68+
apt:
69+
packages:
70+
- docker-ce

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (C) 2011-2017 EE Development Group (https://github.com/ee/ee/contributors)
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
# EasyEngine v4
2+
3+
<img width="150" height="150" src="https://easyengine.io/wp-content/uploads/2015/11/cropped-favicon-easyengine.png" alt="EasyEngine Logo" align="right" />
4+
5+
[![Build Status](https://travis-ci.org/EasyEngine/easyengine.svg?branch=master-v4)](https://travis-ci.org/EasyEngine/easyengine)
6+
[![Join EasyEngine Slack Channel](http://slack.easyengine.io/badge.svg)](http://slack.easyengine.io/)
7+
8+
## Requirements
9+
10+
* Docker
11+
* Docker-Compose
12+
* PHP CLI (>=7.1)
13+
* PHP Modules - `curl`, `sqlite3`, `pcntl`
14+
15+
## Installing
16+
17+
### Linux
18+
19+
For Linux, we have created an installer script which will install all the dependencies for you. We have tested this on Ubuntu 14.04, 16.04, 18.04 and Debian 8.
20+
21+
```bash
22+
wget -qO ee https://rt.cx/ee4beta && sudo bash ee
23+
```
24+
25+
Even if the script doesn't work for your distribution, you can manually install the dependencies and then run the following commands to install EasyEngine
26+
27+
```bash
28+
wget -O /usr/local/bin/ee https://raw.githubusercontent.com/EasyEngine/easyengine-builds/master/phar/easyengine.phar
29+
chmod +x /usr/local/bin/ee
30+
```
31+
32+
### Tab completions
33+
34+
EasyEngine also comes with a tab completion script for Bash and ZSH. Just download [ee-completion.bash](https://raw.githubusercontent.com/EasyEngine/easyengine/develop-v4/utils/ee-completion.bash) and source it from `~/.bash_profile`:
35+
36+
```bash
37+
source /FULL/PATH/TO/ee-completion.bash
38+
```
39+
40+
Don't forget to run `source ~/.bash_profile` afterwards.
41+
42+
If using zsh for your shell, you may need to load and start `bashcompinit` before sourcing. Put the following in your `.zshrc`:
43+
44+
```bash
45+
autoload bashcompinit
46+
bashcompinit
47+
source /FULL/PATH/TO/ee-completion.bash
48+
```
49+
50+
## Usage
51+
52+
To get started with EasyEngine and create a wordpress site, run
53+
54+
```
55+
ee site create example.com --type=wp
56+
```
57+
58+
Need a wordpress site with caching? Try
59+
60+
```
61+
ee site create example.com --type=wp --cache
62+
```
63+
64+
Need a wordpress multi-site with page cache?
65+
```
66+
ee site create example.com --type=wp --mu=wpsubdir --cache
67+
```
68+
69+
Need a plain and simple html site?
70+
```
71+
ee site create example.com
72+
```
73+
74+
Want to play around with your new site?
75+
```
76+
ee shell example.com
77+
```
78+
79+
Want to know more? Checkout readme of these commands -
80+
* [site command](https://github.com/EasyEngine/site-command/)
81+
* [site-wp command](https://github.com/EasyEngine/site-wp-command/)
82+
* [cron command](https://github.com/EasyEngine/cron-command/)
83+
* [shell command](https://github.com/EasyEngine/shell-command/)
84+
85+
Note: :warning: EasyEngine will currently only run with root privileges. You can run `ee help`, `ee help site` and `ee help site create` to get all the details about the various commands and subcommands that you can run.
86+
87+
## Development
88+
89+
Development of easyengine is done entirely on GitHub.
90+
91+
We've used [wp-cli](https://github.com/wp-cli/wp-cli/) framework as a base and built EasyEngine on top of it.
92+
93+
This repo contains main core of easyengine (the framework).
94+
All top level commands(except `ee cli`) i.e. `ee site`, `ee shell` have their own repos.
95+
96+
Currently we have following commands which are bundled by default in EasyEngine:
97+
98+
* [site command](https://github.com/EasyEngine/site-command/)
99+
* [shell command](https://github.com/EasyEngine/shell-command/)
100+
101+
In future, community will be able to make their own packages and commands!
102+
103+
## Contributing
104+
105+
We warmheartedly welcome all contributions however and in whatever capacity you can either through Pull Requests or by reporting Issues. You can contribute here or in any of the above mentioned commands repo.
106+
107+
## Donations
108+
109+
[![PayPal-Donate](https://cloud.githubusercontent.com/assets/4115/5297691/c7b50292-7bd7-11e4-987b-2dc21069e756.png)](http://rt.cx/eedonate)
110+
[![BitCoin-Donate](https://bitpay.com/img/donate-button.svg)](https://bitpay.com/417008/donate)

VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4.0.0-rc.2

bin/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
bin
2+
===
3+
4+
Entrypoint to the php scripts which also sets the required enviournment variables.

0 commit comments

Comments
 (0)