-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtodo.txt
31 lines (25 loc) · 1.11 KB
/
todo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
TODO:
- check if WP is installed
- check that all .sql files are available before attempting to import
- wizard mode + which saves .wgconfig file at the end of the wizard with the options saved
The wizard mode and config file will give life to these 3 commands
wordget files # downnloads and imports remote files ONLY
wordget db # downnloads and imports remote DB ONLY
- make the mkcert command through the wizard in case Trust fails
- enable wpconfig debugging
sed -i '' '/\/\* That.s all, stop editing! Happy blogging. \*\// i\
// FX_SCRIPT FS_METHOD \
define( "FS_METHOD", "direct" ); \
\
// FX_SCRIPT WP_DEBUG \
define( "WP_DEBUG", true ); \
define( "WP_DEBUG_LOG", true ); \
\
// FX_SCRIPT DISABLE_WP_CRON \
define( "DISABLE_WP_CRON", true ); \
\
' wp-config.php
- #create a dev user directly into the wp database for the developer to use directly -- poses as a risk in case the database goes online. needs a tough password using
date |md5 | head -c8; echo
wp user create tsarouxas tsarouxas@hellenictechnologies.com --role=administrator --user_pass=local
- change the wp-config-e.php that gets generated on non-localwp wordgets