Say you've got a site that you're happy with and want to create more sites with the same or similar features.
Any tips on how to do this as quickly as possible? Do you start with the tar or copy the working on?.
How do you deal with database if you use the working one?

Comments

nedjo’s picture

Configure a dummy site the way you want each of your sites to start off, then dump the database. If you use mysql, that's mysqldump.

mysqldump -user username -ppassword -h localhost databasename > dump.sql

Copy all files to the new location, create a new database, edit the settings file, then read in the database dump.

mysql -user username -ppassword -h localhost newdatabasename < dump.sql