How To Reset Ghost Database During Development
If you are developing on Ghost or just taking Ghost for a test drive to see what is all about, you may want to start fresh. Luckily with Ghost, the database reset process is very straight forward. To generate a new database all you have to do is to stop Ghost delete the database, and start Ghost again.
- Stop Ghost
- Move to your ghost/content/data directory
- Delete either the
ghost-dev.dbdepending on if your using production or development environment
- Start Ghost
When Ghost starts, it checks if there is a database file and if not it generates a fresh one for you.