updated documentation, got login working
This commit is contained in:
@@ -12,7 +12,7 @@ And then follow the instructions.
|
||||
This will create a entity class in src/Entity
|
||||
|
||||
**Note: ** You can run make:entity again with the same Entity name to add more fields.
|
||||
You will have to ehn drun make:migration and then doctrine:migrations:migrate
|
||||
You will have to run make:migration and then doctrine:migrations:migrate
|
||||
|
||||
The system is smart enough not to duplicate work.
|
||||
|
||||
|
||||
@@ -5,21 +5,18 @@
|
||||
Permissions are linked to a user object.
|
||||
|
||||
```bash
|
||||
php bin/console make:user
|
||||
symfony console make:user
|
||||
symfony console make:auth # (1 for login form)
|
||||
symfony console make:registration-form
|
||||
symfony console make:reset-password
|
||||
```
|
||||
Now you will want to sync the databse
|
||||
Now you will want to sync the database (using docker)
|
||||
|
||||
```bash
|
||||
php bin/console make:migration
|
||||
php bin/console doctrine:migrations:migrate
|
||||
```
|
||||
|
||||
## Registration Form
|
||||
|
||||
You can use maker to do this (symfonycasts/verify-email-bundle must be installed, which is done through the install script)
|
||||
```bash
|
||||
php bin/console make:registration-form
|
||||
sudo docker-compose run symfony php bin/console make:migration
|
||||
sudo docker-compose run symfony php bin/console doctrine:migrations:migrate
|
||||
```
|
||||
Note: 'symfony' is the name of your symfony app in docker-compose (such as app)
|
||||
|
||||
## Login Form
|
||||
|
||||
|
||||
Reference in New Issue
Block a user