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
We will do our best to keep the **master** branch in good shape, with tests passing at all times.
8
+
## Code of Conduct
9
+
Please read and follow our [Code of Conduct](./CODE_OF_CONDUCT.md).
5
10
6
-
If you send a pull request, please do it against the master branch. We maintain stable branches for major versions separately but we don’t accept pull requests to them directly. Instead, we cherry-pick non-breaking changes from master to the latest stable major version.
11
+
## Submission Guidelines
7
12
8
-
##Semantic Versioning
9
-
Visual Composer follows semantic versioning. We release patch versions for bugfixes, minor versions for new features, and major versions for any breaking changes. When we make breaking changes, we also introduce deprecation warnings in a minor version so that our users learn about the upcoming changes and migrate their code in advance.
13
+
### Forking workflow
14
+
Keep the `master` branch tests passing at all times.
10
15
11
-
Every significant change is documented in the changelog file.
16
+
If you send a pull request, please do it against the master branch. We maintain stable branches for major versions separately (Example: `12.x`). Instead of accepting pull requests to the version branches directly, we cherry-pick non-breaking changes from `master` to the version.
12
17
13
-
14
-
## From Mainline to Forking workflow
15
-
16
-
Make fork for of VCWB repo in Gitlab.
17
-
18
-
To setup repo with SSH from the scratch
19
-
20
-
Go to your active Wordpress wp-plugin directory
18
+
Make fork for of VCWB repo in GitHub. Go to your active WordPress `wp-content/plugins` directory.
If you want to send you data to upstream you need to create merge request in Gitlab
33
+
Use [Feature Branch workflow](https://es.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow). If you want to send you data to upstream you need to [create pull request in GitHub](https://help.github.com/en/articles/creating-a-pull-request-from-a-fork).
Use StandardJS to validate code-style `yarn standard`.
60
+
61
+
#### Supported Language
62
+
Use ES6 version for Javascript code. https://standardjs.com
63
+
64
+
#### Variables and Classes
65
+
For all var, let, const and method names you should use camelCase.
66
+
67
+
Exceptions to the rule:
68
+
* Class names for ES6 with camelCase and first Uppercase letter.
69
+
* Constructors for ES5 with camelCase and first Uppercase letter.
70
+
71
+
#### No jQuery
72
+
Contributor should try not to use jQuery and jQuery-like libraries.
73
+
74
+
## Installation instruction
75
+
All javascript is build with webpack module builder. Install the plugin and checked that it works, you can make changes to it to get acquainted with the code.
76
+
77
+
### Requirements
78
+
* PHP >= 5.4
79
+
* WordPress >= 4.6
80
+
* PHP `gd2/imagick` extension to be loaded
81
+
* Node >=8.0
82
+
* npm >=5.8
83
+
* yarn
84
+
85
+
Locate plugin folder in your WordPress installation under `wp-content/plugins` and clone builder repo here.
86
+
87
+
##### 1. Install node modules and php composer dependencies
Visual Composer Website Builder is a drag and drop editor for WordPress. With an easy-to-use interface, it allows you to design layouts you always wanted. Coupled with premium templates, blocks, elements, and extensions - Visual Composer is all you need to create a website.
* Use StandardJS to validate code-style `yarn standard`.
9
11
10
-
## Supported Language
11
-
Use ES6 version for Javascript code. https://standardjs.com
12
+
## Changelog
13
+
Check the [list of the latest improvements](./CHANGELOG.md).
12
14
13
-
## Variables and Classes
14
-
For all var, let, const and method names you should use camelCase.
15
-
Exceptions to the rule:
16
-
* Class names for ES6 with camelCase and first Uppercase letter.
17
-
* Constructors for ES5 with camelCase and first Uppercase letter.
15
+
## Contributing
16
+
Read our [contributing guide](./CONTRIBUTING.md) to learn about our development process. How to build your changes to Visual Composer.
18
17
19
-
## No jQuery
20
-
Contributor should try not to use jQuery and jQuery-like libraries.
21
-
22
-
## Requirements
23
-
* PHP > 5.4
24
-
* WordPress > 4.6
25
-
* PHP `gd2/imagick` extension to be loaded
26
-
* Node
27
-
* npm
28
-
*`npm install -g yarn`
29
-
30
-
## Installation instruction
31
-
All javascript is build with webpack module builder.
32
-
33
-
```sh
34
-
$ yarn install
35
-
$ php ci/composer.phar update
36
-
```
37
-
### Environment Configuration in Javascript
38
-
If you want to setup custom environment configuration settings,3 you can use *custom-variables.js* by c it from default-variables.js.
39
-
40
-
### Feature toggle and environment Configuration in Javascript
41
-
To build a deliverable product use feature toggle to enable/disable some code features and fixes. Default state of feature toggle is set in *default-variables.js*.
42
-
You can customize settings by creating copy of variables file *default-variables.js* with a git ignored filename *custom-variables.js*.
0 commit comments