https://github.com/gitoido/surv
https://github.com/gitoido/surv
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gitoido/surv
- Owner: gitoido
- Created: 2022-05-22T08:44:27.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-30T09:18:07.000Z (almost 4 years ago)
- Last Synced: 2025-04-06T12:46:36.726Z (12 months ago)
- Language: PHP
- Size: 255 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Опросы
symfony 6.x + encore + stimulus
# Требования
* PHP 8.1 (ext-pdo ext-pdo-pgsql ext-intl)
* Postgres 13.x+
* Nodejs 16.x+
* Yarn 1.x
# Запуск проекта
Настроить конфиг
```shell
cp .env .env.local
```
Поправить переменные APP_SECRET и DATABASE_URL в .env.local
Команды выполняются в папке проекта
```shell
composer install
yarn install
yarn build
```
Создание базы (пропускаем этот блок если база уже есть)
```shell
bin/console doctrine:database:create
```
Накатываем миграции
```shell
bin/console doctrine:migrations:migrate
```
Запускаем локальный сервак
```shell
php -S 0.0.0.0:8000 -t ./public
```