The following documentation is for a Linux host.
git clone https://github.com/InnovaLangues/self.git
cd self
docker-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.yml
make init
make permissions
Need at least the 0.12.1 release... download from official site
sudo dpkg -i wkhtmltox-*_linux-wheezy-amd64.deb
Create an user
php app/console fos:user:create username
Give some rights to user
php app/console self:rightGroup:toggle username rightgroupname
See online users
php app/console self:sessions:check
Commands 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-debug
Note : the official self instances of use Ansible for this : https://github.com/InnovaLangues/self-deploy