An open API service indexing awesome lists of open source software.

https://github.com/donkeycode/sonata-init


https://github.com/donkeycode/sonata-init

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# Sonata init - First Install


1/ Go to vagrant/puppet

2/ Transform config.pp.dist to config.pp

3/ Change data with your informations (site name and ip address)

* line 9 :config.vm.hostname = "sonata-init.dev"

* line 10 : config.hostmanager.aliases = %w(pma.sonata-init.dev sonata-init.dev)

* line 33 : config.vm.network :private_network, ip: "10.10.10.15"

* line 50 : config.vm.synced_folder "../symfony", "/home/vagrant/sonata-init", :nfs => true



4/ Go to symfony/config

5/ Transform paramaters.yml.dist to paramaters.yml

6/ Change data with your informations



7/ Go to /vagrant

8/ Cmd :




vagrant up

vagrant provision

vagrant ssh

sudo locale-gen UTF-8

sudo dpkg-reconfigure phpmyadmin

composer install

php app/console doctrine:generate:entities Application/Sonata --path=src

php app/console doctrine:schema:update --force

php app/console fos:user:create admin --super-admin

php app/console sonata:page:create-site
php app/console sonata:page:update-core-routes --site=all
php app/console sonata:page:create-snapshots --site=all