From d23236a59480e505d7e56903e46c0c668cfbd360 Mon Sep 17 00:00:00 2001 From: Alexey Eschenko Date: Tue, 1 Jan 2019 15:35:35 +0000 Subject: [PATCH] Installation instructions fixed: https://github.com/boramalper/magnetico/issues/170 --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 6e63ec7..de4eb3e 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,26 @@ for production usage. See [Symfony database configuration](https://symfony.com/doc/current/doctrine.html#configuring-the-database) documentation for more details. +You **must** set environment variables + +## Database schema migration + +```bash +# Only for 'default' EntityManager (PostgreSQL) +php app/console doc:mig:mig --em=default +``` + +## User creation + +```bash +# see --help for more info +# If you don't specify the password it'll be requested from you in the command line +php app/console user:add [your_password] [--invites=10] +``` + ## Web assets installation ```bash php app/console assets:install public --symlink ``` +