Simple PHP development environment for quick start projects. Using Nginx, PHP-fpm7.4 and MariaDB
Clone this repo to where you want the project to be and setup it up
git clone repo my_project_name
cd my_project_name
./setup
This will setup a basic PHP & MariaDB system running under your 127.0.0.1
All your source-code should be placed in the folder app/code
You'll need to create the
app/code
folder. That is the root directory of your application in NGINX.
- setup - Clears git folder, builds docker images
- shell - Simple shortcut for
docker compose exec....
- wintercms - Clears app directory, installs and setups wintercms
- wintercms-full - Clears app directory, installs and setups wintercms, then installs my suite of usual plugins
Since I am an avid WinterCMS user, I created a simple script that can be run after you have setup the application.
./wintercms
This will run through all the basic install commands for you.
Do keep an eye open becuase it will ask you things every now and then
When you run the wintecms command, it will install a fully functional WinterCMS application for you.
Since I usually use a number of standard plugins, I decided to make my life easier by already pre-installing them.
At the time of this release, since Winter still does not have a functioning marketplace, I am installing the plugins by cloning their repos rather than installing them via
plugin:install
./wintercms-full
When you run the wintecms command, it will install a fully functional WinterCMS application for you. It comes by default with an assortment of my usual plugins.
- Latest WinterCMS
- wn-builder-plugin - The famous builder plugin
- wn-user-plugin - Client side Users
- wn-translate-plugin - Enable Multi-language sites
- wn-pages-plugin - Static Pages Plugin
- wn-debugBar-plugin - The ever so useful Debug Bar
While this does attend most of my current project needs, I might add to it some configuration options, allowing you to choos what kind of install you want to run with and so forth. For the time being, I am keep it simple and clutter free.