move scripts to scripts dir
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1,3 +1,3 @@
|
||||
/database
|
||||
/html
|
||||
database
|
||||
html
|
||||
*.zip
|
||||
@@ -1,11 +1,4 @@
|
||||
<?php
|
||||
/**
|
||||
* Plugin Name: Go Form Plugin
|
||||
* Description: Form plugin for Go players
|
||||
* Version: 0.03
|
||||
* Author: Nikola Petrov
|
||||
*/
|
||||
|
||||
if (!defined('ABSPATH'))
|
||||
exit;
|
||||
|
||||
|
||||
13
main.php
Normal file
13
main.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Plugin Name: Go Form Plugin
|
||||
* Description: Form plugin for Go players
|
||||
* Version: 0.03
|
||||
* Author: Nikola Petrov (nikola@petrovv.com)
|
||||
*/
|
||||
|
||||
if (!defined('ABSPATH'))
|
||||
exit;
|
||||
|
||||
include_once "go-form-plugin/go-form-plugin.php";
|
||||
@@ -7,10 +7,10 @@ CONTAINER_NAME_DB='wordpress_db'
|
||||
CONTAINER_NAME_WP='wordpress'
|
||||
|
||||
# Stop and remove containers
|
||||
podman stop $CONTAINER_NAME_DB $CONTAINER_NAME_WP 2>/dev/null || true
|
||||
podman rm $CONTAINER_NAME_DB $CONTAINER_NAME_WP 2>/dev/null || true
|
||||
podman stop $CONTAINER_NAME_DB $CONTAINER_NAME_WP || true
|
||||
podman rm $CONTAINER_NAME_DB $CONTAINER_NAME_WP || true
|
||||
|
||||
# Remove pod
|
||||
podman pod rm -f $POD_NAME 2>/dev/null || true
|
||||
podman pod rm -f $POD_NAME || true
|
||||
|
||||
echo "removed pods"
|
||||
@@ -9,11 +9,11 @@ CONTAINER_NAME_DB='wordpress_db'
|
||||
CONTAINER_NAME_WP='wordpress'
|
||||
|
||||
# Stop and remove containers
|
||||
podman stop $CONTAINER_NAME_DB $CONTAINER_NAME_WP 2>/dev/null || true
|
||||
podman rm $CONTAINER_NAME_DB $CONTAINER_NAME_WP 2>/dev/null || true
|
||||
podman stop $CONTAINER_NAME_DB $CONTAINER_NAME_WP || true
|
||||
podman rm $CONTAINER_NAME_DB $CONTAINER_NAME_WP || true
|
||||
|
||||
# Remove pod
|
||||
podman pod rm -f $POD_NAME 2>/dev/null || true
|
||||
podman pod rm -f $POD_NAME || true
|
||||
|
||||
echo "removed pods"
|
||||
#exit 0
|
||||
Reference in New Issue
Block a user