Skip to content

Latest commit

 

History

History
41 lines (22 loc) · 960 Bytes

INSTALLATION_STEPS.md

File metadata and controls

41 lines (22 loc) · 960 Bytes

Cobase

The following is a step-by-step checklist of things you need to do when initially installing Cobase to your development environment.

#Steps

$ cd /your_workspace_root

$ git clone [email protected]:YOUR_GIT_ACCOUNT_NAME/cobase.git

$ cd cobase

$ cp app/config/parameters.yml-dist app/config/parameters.yml

$ mkdir app/cache

$ mkdir app/logs

$ sudo chmod -Rf +a "daemon allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs

$ sudo chmod -Rf +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs

$ curl -s https://getcomposer.org/installer | php

$ php composer.phar install

$ mysql

CREATE USER 'cobase'@'localhost' IDENTIFIED BY 'secret';
GRANT ALL PRIVILEGES ON *.* TO 'cobase'@'localhost';

$ app/console doctrine:database:create

$ app/console doctrine:migrations:migrate

$ app/console assetic:dump

$ app/console fos:js-routing:dump

$ phpunit -c app