Skip to content
New website of Pehapkari.cz
Branch: master
Clone or download
JanMikes Merge pull request #46 from TomasVotruba/update-deploy
Fixed docker build + compose + deploy
Latest commit 36ba36b Feb 4, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.docker
assets
bin
config
packages
public
src
templates
.dockerignore
.editorconfig
.env
.gitattributes
.gitignore
.gitlab-ci.yml
.travis.yml
Dockerfile
MONOREPO.md
README.md
composer.json
docker-compose.dist.yml
ecs.yml
ide-twig.json
package.json
phpstan.neon
phpunit.xml
rector.yml
symfony.lock
webpack.config.js
yarn.lock

README.md

Open Trainings

Open and free platform for organizing trainings.

Setup

We cover all you need to organize a training, with a trainer and attendees:

Instal

git clone ...
composer install

Then rename .env.dist to .env and complete variables:

# create database
bin/console doctrine:schema:create 

# dump css and js from all bundles
bin/console assets:install --env=prod --no-debug

# install adminer
composer adminer-install

Run

bin/console server:run

Clear cache after any config change - e.g. security

php bin/console cache:clear

Update database after changing entities:

bin/console doctrine:schema:update --dump-sql --force

Run via docker

This is example for running open-training project locally:

  1. Run bin/run-from-docker.sh
  2. Enjoy :-) project is available on localhost:8000

In some rare scenarios you might want to tweak docker-compose.yml file for your needs.

You can’t perform that action at this time.