https://github.com/holyshared/c5-example-package
https://github.com/holyshared/c5-example-package
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/holyshared/c5-example-package
- Owner: holyshared
- License: mit
- Created: 2015-03-11T01:56:54.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-11T03:33:09.000Z (over 11 years ago)
- Last Synced: 2025-10-07T01:58:17.473Z (8 months ago)
- Size: 137 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
c5-example-package
==============================================
How to install
----------------------------------------------
### Download the concrete5
wget https://github.com/concrete5/concrete5-5.7.0/archive/5.7.3.1.tar.gz
tar zxvf 5.7.3.1.tar.gz
### Setup the composer
cd concrete5-5.7.0-5.7.3.1
composer init
### Edit the installation path
Open the **composer.json**.
vi composer.json
Change the path of the **vendor-dir**.
```json
"config": {
"vendor-dir": "web/packages"
}
```
Change the path of the **installer-paths**.
```json
"extra": {
"installer-paths": {
"web/packages/{$name}/": [
"type:concrete5-package"
]
}
}
```
### Install the package
composer require composer/installers:~1.0
composer require holyshared/c5-example-package:dev-master