The following documentation is for a Linux host.
git clone https://github.com/InnovaLangues/self.git
cd selfdocker-compose up -d
cp app/config/parameters.yml.dist app/config/parameters.yml
docker-compose exec web make init
make permissions
- http server
- php >= 7.1
- mysql/mariadb
- redis
In parameters.yml, specify your database name and credentials.
cp app/config/parameters.yml.dist app/config/parameters.yml
vi app/config/parameters.ymlmake init
make permissionsNeed at least the 0.12.1 release... download from official site
sudo dpkg -i wkhtmltox-*_linux-wheezy-amd64.debCreate an user
php app/console fos:user:create usernameGive some rights to user
php app/console self:rightGroup:toggle username rightgroupnameSee online users
php app/console self:sessions:checkCommands to run before an update on a production environment :
php app/console doctrine:migrations:migrate
php app/console self:fixtures:load
php app/console assets:install --symlink -env=prod
php app/console fos:js-routing:dump --env=prod
php app/console bazinga:js-translation:dump
php app/console assetic:dump --env=prod
php app/console cache:clear --env=prod --no-debugNote : the official self instances of use Ansible for this : https://github.com/InnovaLangues/self-deploy