syntro-opensource / ansible.silverstripe Goto Github PK
View Code? Open in Web Editor NEWAnsible role to deploy silverstripe
License: MIT License
Ansible role to deploy silverstripe
License: MIT License
currently, we render a simple .htaccess file containing just the bare minimum necessary to run silverstripe. In practice however, more things might be needed in order to run a performant and flexible app/website.
vendor directories are correctly exposed in every case. however, theme directories and local resources asre only exposed via resource directory if a public/
directory is present. This poses problems for projects which do not come with a public directory and are developed around not having one.
We need to find a way to patch this issue, as it basically means that in order to use this role, a project needs to be refactored to use a public/
directory.
The decision wether to expose a directory is made via https://github.com/silverstripe/vendor-plugin/blob/0705b1944e5e9b55fe62c3d417143da560698e7f/src/Library.php#L187.
For themes, all we need to do would be to basically render and move a link to the themes/
directory if it exists and no public/
directory exists. In the case of other directories, things get more complicated. While we could read the composer.json file and extract the extra.expose
key, this means we would have to build a directory-structure similar to the one in the ressouces dir, and this would make a downtimeless deploy much harder.
Ill leave this issue here as a starting point, as we are currently only working with public
installations and syntro/ssto
contains one by default.
The handler which should delete the lockfile does not get called
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.