repositorypackage
0.0.0-20241003223237-7e70fac209eb
Repository: https://github.com/farghul/spider.git
Documentation: pkg.go.dev
# README
Spider
Spider is a WordPress website (blog) deployment tool. It Automates the process of launching and transfering database assets to a new WordPress blog site. Designed with multisite migration in mind and assuming an architecture involving multiple servers (physical, VM, etc.).
Prerequisites
-
Googles' Go language installed to enable building executables from source code.
-
An
env.json
file containing enviromental data:
"production": {
"url": "example.com",
"path": "example_com",
"server": "example.dmz"
},
Build
From the root folder containing main.go, use the command that matches your environment:
Windows & Mac:
go build -o [name] .
Linux:
GOOS=linux GOARCH=amd64 go build -o [name] .
Run
[program] [source flag] [destination flag] [website slug]
Flags
Current flages are:
-
-s (Staging)
-
-p (Production)
-
-b (Blog)
-
-d (Development)
-
-t (Test)
-
-e (Engage)
-
-f (Forms)
-
-w (Working)
-
-v (Vanity)
Example deployment:
spider -s -p antiracism
License
Code is distributed under The Unlicense and is part of the Public Domain.