Database dump
How to dump your local database to file
Database content
Articles, Lists, Concepts and other editorial content are stored in Open Content, and that is the source of truth for that kind of content.
The Naviga Web database holds web site settings like static pages, Boards, menus and other Wordpress settings.
Automatic database sync on stage
The database can be synced from prod to stage, to keep stage sites production like using the database dump.
Save local database to file
Dumping your local Wordpress database as a file for others to use as a project kickstart is simple:
# Make sure your environment runs ok
make start
# Dump the database
make mysql-dump
cd mysql
mv everyware-dump-*.sql startup.sql
gzip --best startup.sql
# Now go ahead and commit the new startup.sql.gz to git
You now have a new nice startup.sql.gz that make init
will use.
Last updated
Was this helpful?