populate the development server with default sync servers to get data

This commit is contained in:
hauke 2015-11-08 18:01:23 +01:00
parent bab5446614
commit 735ca9d6fa
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,5 @@
--
-- Sync targets to poulate the development directory
--
INSERT INTO `friendica_dir`.`sync-targets` (`base_url`, `pull`, `push`, `dt_last_pull`) VALUES ('dir.friendica.com', 1, 0, '');
INSERT INTO `friendica_dir`.`sync-targets` (`base_url`, `pull`, `push`, `dt_last_pull`) VALUES ('dir.friendi.ca', 1, 0, '');

View File

@ -70,6 +70,7 @@ cp /vagrant/util/htconfig.vagrant.php /vagrant/.htconfig.php
echo "create database friendica_dir" | mysql -u root -proot
# import test database
$MYSQL -uroot -proot friendica_dir < /vagrant/dfrndir.sql
$MYSQL -uroot -proot friendica_dir < /vagrant/util/vagrant_default_sync_servers.sql
#Install composer
cd /vagrant