mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 11:16:43 +02:00
refactor(auth): change contributor's role logic to have it included in the users_podcasts table
- update myth-auth and codeigniter to latest develop changes - improve permission check: remove all dynamic permissions per podcast and overwrite myth-auth services and permission filter - remove unnecessary code because of myth-auth upgrade - refactor some controller code for better clarity - add remaining seeders in docs closes #19, #20
This commit is contained in:
parent
e0da11517d
commit
58364bfed1
39 changed files with 1197 additions and 685 deletions
|
|
@ -97,21 +97,34 @@ docker ps -a
|
|||
|
||||
## Initialize and populate database
|
||||
|
||||
Build the database with the migrate command:
|
||||
1. Build the database with the migrate command:
|
||||
|
||||
```bash
|
||||
# loads the database schema during first migration
|
||||
docker-compose run --rm app php spark migrate -all
|
||||
```
|
||||
|
||||
Populate the database with the required data:
|
||||
2. Populate the database with the required data:
|
||||
|
||||
```bash
|
||||
# Populates all categories
|
||||
docker-compose run --rm app php spark db:seed CategorySeeder
|
||||
docker-compose run --rm app php spark db:seed LanguageSeeder
|
||||
docker-compose run --rm app php spark db:seed PlatformSeeder
|
||||
docker-compose run --rm app php spark db:seed AuthSeeder
|
||||
```
|
||||
|
||||
3. (optionnal) Populate the database with test data:
|
||||
|
||||
```bash
|
||||
docker-compose run --rm app php spark db:seed TestSeeder
|
||||
```
|
||||
|
||||
This will add an active superadmin user with the following credentials:
|
||||
|
||||
- username: **admin**
|
||||
- password: **AGUehL3P**
|
||||
|
||||
## Install/Update app dependencies
|
||||
|
||||
Castopod uses `composer` to manage php dependencies and `npm` to manage javascript dependencies.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue