https://github.com/itk-dev/mtm-radar
https://github.com/itk-dev/mtm-radar
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/itk-dev/mtm-radar
- Owner: itk-dev
- Created: 2017-08-23T13:28:24.000Z (over 8 years ago)
- Default Branch: develop
- Last Pushed: 2024-01-19T11:35:22.000Z (about 2 years ago)
- Last Synced: 2025-04-07T03:30:17.827Z (12 months ago)
- Language: JavaScript
- Size: 18.1 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MTM-radar
## Installation
```shell
docker compose up --detach
docker compose exec phpfpm composer install
docker compose exec phpfpm bin/console doctrine:migrations:migrate --no-interaction
```
Open the site:
```shell
open "http://$(docker compose port nginx 8080)"
```
## Create administrator users
**The stuff in this section does not work!**
### Super administrator
```shell
docker compose exec phpfpm bin/console fos:user:create --super-admin super-admin@example.com super-admin@example.com
```
```shell
docker compose exec phpfpm bin/console fos:user:create admin@example.com admin@example.com
```
### Administrator
```shell
docker compose exec phpfpm bin/console fos:user:promote admin@example.com ROLE_ADMIN
```
## Loading fixtures
```shell
docker compose exec phpfpm bin/console doctrine:fixtures:load --no-interaction
```
After loading fixtures, you can sign in with username `admin@example.com` and
password `password`.