updated documentation, got login working

This commit is contained in:
2023-05-16 16:42:29 -07:00
parent 5e72e23051
commit cb15ef2534
4 changed files with 16 additions and 16 deletions

View File

@@ -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.

View File

@@ -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