Compare commits

...
2 Commits
4 changed files with 9 additions and 3 deletions
+3
View File
@@ -2,6 +2,9 @@
# REQUIRED SETTINGS (you will need these) # # REQUIRED SETTINGS (you will need these) #
############################################################################## ##############################################################################
# What username should `set_local_password` operate on?
USERNAME=admin
############################################################################## ##############################################################################
# COMMON SETTINGS (you may need these) # # COMMON SETTINGS (you may need these) #
############################################################################## ##############################################################################
+1
View File
@@ -1,3 +1,4 @@
.drone.yml .drone.yml
.env.sample .env.sample
.gitignore
README.md README.md
+3 -1
View File
@@ -1,6 +1,8 @@
/.env /.env
/wp-content/twenty* /wp-content/**
# Add an exception here for any custom plugins or themes to be included, e.g.
#!/wp-content/themes/${REPO_NAME_SNAKE}
/data/** /data/**
!/data/.gitkeep !/data/.gitkeep
+1 -1
View File
@@ -123,7 +123,7 @@ fix_url:
$(_DOCKER_COMPOSE) exec -u user wordpress wp --url=https://$(SITE_URL) search-replace --all-tables-with-prefix 'https://$(SITE_URL)' 'http://$(PROJECT_NAME).localhost' $(_DOCKER_COMPOSE) exec -u user wordpress wp --url=https://$(SITE_URL) search-replace --all-tables-with-prefix 'https://$(SITE_URL)' 'http://$(PROJECT_NAME).localhost'
set_local_password: set_local_password:
$(_DOCKER_COMPOSE) exec -u user wordpress wp user update admin --user_pass=password $(_DOCKER_COMPOSE) exec -u user wordpress wp user update $(USERNAME) --user_pass=password
db_pull: db_fetch db_load fix_url db_pull: db_fetch db_load fix_url