Skip to content

alexstrand/wp-klarity-config

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jesuisanas-wp

Setup

Spin up Wordpress and a DB locally by running:

docker-compose -f environments/local/docker-compose-dev.yml up -d

Wordpress plugins are built automatically when containers created from environments/local/docker-compose-dev.yml are (re)started.

Deploying to production

cp environments/production/.env.dist environments/production/.env 

Fill the missing values in environments/production/.env.

./environments/production/deploy-jesuisanas.sh

Publishing plugin updates

Each plugin is located in a Git submodule in wp/wp-content/plugins. When you want to publish an update for a plugin :

  • Update the plugin's version in :
    • package.json
    • package-lock.json
    • plugin.php
    • readme.txt
  • Commit : (cd wp/wp-content/plugins/<plugin-name> && git add . && git commit -m "Bump version")
  • Create a tag for the plugin's new version : (cd wp/wp-content/plugins/<plugin-name> && git tag <newversion>)
  • Push the plugin's code to GitHub along with the new tag : (cd wp/wp-content/plugins/<plugin-name> && git push && git push --tags)
  • Run the commit-to-svn.sh script with the plugin's directory name in argument : ./environments/wordpress-com/commit-to-svn.sh <plugin-name>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%