Directory-Permissions: https://symfony.com/doc/current/book/installation.html#configuration-and-setup
Database
$ php app/console doctrine:migrations:diff $ php app/console doctrine:migrations:migrate
Assets
$ npm install -g grunt-cli $ npm install $ npm run build-assets
Composer Optimizations, Cronjob, ...
Fixtures
$ php app/console doctrine:fixtures:load
Refer to the Installation-File for an extended explanation of all Commands: https://git.telesis.eu/tpoint/tpoint-standard/blob/master/app/Resources/docs/INSTALL.md
In order to login into t-Point, you need to create a User. This can be achived by executing the following commands (extended from the FOS-Commands):
$ php app/console tpoint:user:create testuser
$ php app/console tpoint:user:promote testuser ROLE_ADMIN
The first command creates a new User which is already activated. The second line adds the
ROLE_ADMIN
to the new user (don’t execute this, if you don’t want to have an admin).
It is suggested to generate the User via loading of the Database-Fixtures (prefill
the DB). The user is denn generated with permissions & roles, and has the default
login-credentials (Username admin
, Password administrator
)
$ app/console doctrine:fixtures:load
Warning
Do not load the fixtures into an existing Database, because all of the Contents will be overwritten!!