mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-06-26 22:49:39 +02:00
Compare commits
No commits in common. "5.1.0" and "4" have entirely different histories.
|
@ -3,8 +3,7 @@
|
||||||
"child-stability-inherit": true,
|
"child-stability-inherit": true,
|
||||||
"dependency-constraint": "loose",
|
"dependency-constraint": "loose",
|
||||||
"vendors": [
|
"vendors": [
|
||||||
"silverstripe",
|
"silverstripe"
|
||||||
"silverstripe-themes"
|
|
||||||
],
|
],
|
||||||
"tests": [
|
"tests": [
|
||||||
"vendor/bin/phpunit vendor/silverstripe/framework/tests/php",
|
"vendor/bin/phpunit vendor/silverstripe/framework/tests/php",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# For a complete list of core environment variables see
|
# For a complete list of core environment variables see
|
||||||
# https://docs.silverstripe.org/en/5/getting_started/environment_management/#core-environment-variables
|
# https://docs.silverstripe.org/en/4/getting_started/environment_management/#core-environment-variables
|
||||||
|
|
||||||
# DB credentials
|
# DB credentials
|
||||||
SS_DATABASE_CLASS="MySQLDatabase"
|
SS_DATABASE_CLASS="MySQLDatabase"
|
||||||
|
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
||||||
endtoend: false
|
endtoend: false
|
||||||
# require the following in ci.yml rather than composer.json require-dev specifically for installer because unlike
|
# require the following in ci.yml rather than composer.json require-dev specifically for installer because unlike
|
||||||
# regular modules, require-dev will get installed to projects during `composer create-project silverstripe/installer`
|
# regular modules, require-dev will get installed to projects during `composer create-project silverstripe/installer`
|
||||||
composer_require_extra: silverstripe/recipe-testing:^3 silverstripe/frameworktest:^1 mikey179/vfsstream:^1.6.10
|
composer_require_extra: silverstripe/recipe-testing:^2 silverstripe/frameworktest:^0.4.2 mikey179/vfsstream:^1.6.10
|
||||||
extra_jobs: |
|
extra_jobs: |
|
||||||
- endtoend: true
|
- endtoend: true
|
||||||
endtoend_suite: admin
|
endtoend_suite: admin
|
||||||
|
|
6
.github/workflows/keepalive.yml
vendored
6
.github/workflows/keepalive.yml
vendored
|
@ -1,10 +1,10 @@
|
||||||
name: Keepalive
|
name: Keepalive
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# At 1:05 PM UTC, on day 22 of the month
|
|
||||||
schedule:
|
|
||||||
- cron: '5 13 22 * *'
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
# The 8th of every month at 4:50pm UTC
|
||||||
|
schedule:
|
||||||
|
- cron: '50 16 8 * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
keepalive:
|
keepalive:
|
||||||
|
|
|
@ -9,7 +9,7 @@ Please read our [issue reporting guidelines](http://doc.silverstripe.org/framewo
|
||||||
|
|
||||||
## Development and Contribution ##
|
## Development and Contribution ##
|
||||||
|
|
||||||
For submitting patches, please read our [guide to contributing code](https://docs.silverstripe.org/en/5/contributing/code/). We only accept pull requests on github.com.
|
For submitting patches, please read our [guide to contributing code](http://doc.silverstripe.org/framework/en/misc/contributing/code). We only accept pull requests on github.com.
|
||||||
|
|
||||||
## Links ##
|
## Links ##
|
||||||
|
|
||||||
|
|
4
LICENSE
4
LICENSE
|
@ -1,4 +1,4 @@
|
||||||
Copyright (c) 2007-2017, Silverstripe Limited - www.silverstripe.com
|
Copyright (c) 2007-2017, SilverStripe Limited - www.silverstripe.com
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||||
|
@ -6,7 +6,7 @@ Redistribution and use in source and binary forms, with or without modification,
|
||||||
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||||
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the
|
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the
|
||||||
documentation and/or other materials provided with the distribution.
|
documentation and/or other materials provided with the distribution.
|
||||||
* Neither the name of Silverstripe nor the names of its contributors may be used to endorse or promote products derived from this software
|
* Neither the name of SilverStripe nor the names of its contributors may be used to endorse or promote products derived from this software
|
||||||
without specific prior written permission.
|
without specific prior written permission.
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
|
20
README.md
20
README.md
|
@ -5,27 +5,25 @@
|
||||||
|
|
||||||
Base project folder for a Silverstripe ([http://silverstripe.org](http://silverstripe.org)) installation. Required modules are installed via [http://github.com/silverstripe/recipe-cms](http://github.com/silverstripe/recipe-cms). For information on how to change the dependencies in a recipe, please have a look at [https://github.com/silverstripe/recipe-plugin](https://github.com/silverstripe/recipe-plugin). In addition, installer includes [theme/simple](https://github.com/silverstripe-themes/silverstripe-simple) as a default theme.
|
Base project folder for a Silverstripe ([http://silverstripe.org](http://silverstripe.org)) installation. Required modules are installed via [http://github.com/silverstripe/recipe-cms](http://github.com/silverstripe/recipe-cms). For information on how to change the dependencies in a recipe, please have a look at [https://github.com/silverstripe/recipe-plugin](https://github.com/silverstripe/recipe-plugin). In addition, installer includes [theme/simple](https://github.com/silverstripe-themes/silverstripe-simple) as a default theme.
|
||||||
|
|
||||||
## Installation
|
## Installation ##
|
||||||
|
|
||||||
```sh
|
`composer create-project silverstripe/installer my-app`
|
||||||
composer create-project silverstripe/installer my-app
|
|
||||||
```
|
|
||||||
|
|
||||||
See [Getting Started](https://docs.silverstripe.org/en/getting_started/) for more information.
|
See [Getting Started](https://docs.silverstripe.org/en/4/getting_started/) for more information.
|
||||||
|
|
||||||
## Bugtracker
|
## Bugtracker ##
|
||||||
|
|
||||||
Bugs are tracked on github.com ([framework issues](https://github.com/silverstripe/silverstripe-framework/issues),
|
Bugs are tracked on github.com ([framework issues](https://github.com/silverstripe/silverstripe-framework/issues),
|
||||||
[cms issues](https://github.com/silverstripe/silverstripe-cms/issues)).
|
[cms issues](https://github.com/silverstripe/silverstripe-cms/issues)).
|
||||||
Please read our [issue reporting guidelines](https://docs.silverstripe.org/en/contributing/issues_and_bugs/).
|
Please read our [issue reporting guidelines](https://docs.silverstripe.org/en/4/contributing/issues_and_bugs/).
|
||||||
|
|
||||||
## Development and Contribution
|
## Development and Contribution ##
|
||||||
|
|
||||||
If you would like to make changes to the Silverstripe core codebase, we have an extensive [guide to contributing code](https://docs.silverstripe.org/en/contributing/code/).
|
If you would like to make changes to the Silverstripe core codebase, we have an extensive [guide to contributing code](https://docs.silverstripe.org/en/4/contributing/code/).
|
||||||
|
|
||||||
## Links
|
## Links ##
|
||||||
|
|
||||||
* [Changelogs](https://docs.silverstripe.org/en/changelogs/)
|
* [Changelogs](https://docs.silverstripe.org/en/4/changelogs/)
|
||||||
* [Bugtracker: Framework](https://github.com/silverstripe/silverstripe-framework/issues)
|
* [Bugtracker: Framework](https://github.com/silverstripe/silverstripe-framework/issues)
|
||||||
* [Bugtracker: CMS](https://github.com/silverstripe/silverstripe-cms/issues)
|
* [Bugtracker: CMS](https://github.com/silverstripe/silverstripe-cms/issues)
|
||||||
* [Bugtracker: Installer](https://github.com/silverstripe/silverstripe-installer/issues)
|
* [Bugtracker: Installer](https://github.com/silverstripe/silverstripe-installer/issues)
|
||||||
|
|
26
app/_config/assets.yml
Normal file
26
app/_config/assets.yml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# SilverStripe 4.4 changes the way files are resolved. `silverstripe-assets` resolves files using a variety of formats
|
||||||
|
# by default. When starting a brand new project on SilverStripe 4.4 or greater, those extra formats are not needed and
|
||||||
|
# will slowdown file resolution requests a bit. This config removes those redundant formats.
|
||||||
|
|
||||||
|
---
|
||||||
|
Name: project-assetsflysystem
|
||||||
|
After: '#assetsflysystem'
|
||||||
|
---
|
||||||
|
SilverStripe\Core\Injector\Injector:
|
||||||
|
# Define public resolution strategy
|
||||||
|
SilverStripe\Assets\FilenameParsing\FileResolutionStrategy.public:
|
||||||
|
class: SilverStripe\Assets\FilenameParsing\FileIDHelperResolutionStrategy
|
||||||
|
properties:
|
||||||
|
ResolutionFileIDHelpers:
|
||||||
|
- '%$SilverStripe\Assets\FilenameParsing\HashFileIDHelper'
|
||||||
|
- '%$SilverStripe\Assets\FilenameParsing\NaturalFileIDHelper'
|
||||||
|
DefaultFileIDHelper: '%$SilverStripe\Assets\FilenameParsing\NaturalFileIDHelper'
|
||||||
|
VersionedStage: Live
|
||||||
|
# Define protected resolution strategy
|
||||||
|
SilverStripe\Assets\FilenameParsing\FileResolutionStrategy.protected:
|
||||||
|
class: SilverStripe\Assets\FilenameParsing\FileIDHelperResolutionStrategy
|
||||||
|
properties:
|
||||||
|
DefaultFileIDHelper: '%$SilverStripe\Assets\FilenameParsing\HashFileIDHelper'
|
||||||
|
ResolutionFileIDHelpers:
|
||||||
|
- '%$SilverStripe\Assets\FilenameParsing\HashFileIDHelper'
|
||||||
|
VersionedStage: Stage
|
9
app/_config/email.yml
Normal file
9
app/_config/email.yml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# See https://docs.silverstripe.org/en/4/developer_guides/email/ for additional information about setting up email
|
||||||
|
---
|
||||||
|
Name: project-emailconfig
|
||||||
|
After:
|
||||||
|
- '#emailconfig'
|
||||||
|
---
|
||||||
|
SilverStripe\Core\Injector\Injector:
|
||||||
|
Swift_Transport:
|
||||||
|
class: Swift_SendmailTransport
|
|
@ -3,15 +3,14 @@
|
||||||
"type": "silverstripe-recipe",
|
"type": "silverstripe-recipe",
|
||||||
"description": "The SilverStripe Framework Installer",
|
"description": "The SilverStripe Framework Installer",
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.1",
|
"php": "^7.4 || ^8.0",
|
||||||
"silverstripe/recipe-plugin": "~2.0.0@stable",
|
"silverstripe/recipe-plugin": "^1.2",
|
||||||
"silverstripe/vendor-plugin": "~2.0.1@stable",
|
"silverstripe/recipe-cms": "4.x-dev",
|
||||||
"silverstripe/recipe-cms": "~5.1.0@stable",
|
"silverstripe-themes/simple": "~3.2.0",
|
||||||
"silverstripe-themes/simple": "~3.3.0@stable",
|
"silverstripe/login-forms": "4.x-dev"
|
||||||
"silverstripe/login-forms": "~5.1.0@stable"
|
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^9.6"
|
"phpunit/phpunit": "^9.5"
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"project-files": [
|
"project-files": [
|
||||||
|
@ -22,7 +21,8 @@
|
||||||
"public-files": [
|
"public-files": [
|
||||||
"assets/*",
|
"assets/*",
|
||||||
"favicon.ico"
|
"favicon.ico"
|
||||||
]
|
],
|
||||||
|
"resources-dir": "_resources"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"process-timeout": 600,
|
"process-timeout": 600,
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 1.4 KiB |
Loading…
Reference in New Issue
Block a user