clsource Posted November 19, 2016 Posted November 19, 2016 Hello, This is a very simple module that helps you asserting if the server has all the requirements for running ProcessWire. Helpful if you are developing in local and then have to upload to a production server. https://github.com/NinjasCL/ProcessServerAssert 8
szabesz Posted November 20, 2016 Posted November 20, 2016 Thanks! One question though: how to use it before running ProcessWire? If it is a module, I have to install ProcessWire in the first place. Am I missing something? 1
clsource Posted November 21, 2016 Author Posted November 21, 2016 17 hours ago, szabesz said: Thanks! One question though: how to use it before running ProcessWire? If it is a module, I have to install ProcessWire in the first place. Am I missing something? Yes. May be I will do a merge request to wireshell for including this functionality as a command line app. The use case is when you do an installation of a previously configured site. So maybe the server could run ProcessWire, but some modules may be not present (like gd) and you discover that later in the development of the site. 2
szabesz Posted November 21, 2016 Posted November 21, 2016 (edited) 4 hours ago, clsource said: wireshell +1 Although it means that PW must also be present in order to be able to bootstrap it, but at least being installed is not a requirement anymore, if I'm not mistaken. Edited November 21, 2016 by szabesz typo
clsource Posted November 21, 2016 Author Posted November 21, 2016 11 hours ago, szabesz said: +1 Although it means that PW must also be present in order to be able to bootstrap it, but at least being installed is not a requirement anymore, if I'm not mistaken. Ok well. I separated the assertions in their own class. And created a simple file for using the command line https://github.com/NinjasCL/ProcessServerAssert/blob/master/Assert.php just use php Assert.php in your server (or execute that file in the browser) and you can know if ProcessWire can run in the server 4
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now