cd Intranet
cp ./config/ldap.yml.template ./config/ldap.yml
docker-compose build
If you get an error "Couldn't connect to Docker daemon" even if you ransudo service docker start
, runusermod -aG docker ${USER}
then login/logout (or reboot)- In order to create the database, make sure you have a user called 'intranet'. If not, create it by using the following commands :
sudo -u postgres -i
pgsql
create user intranet createdb password 'intranet';
\q
thenexit
docker-compose run app rake db:create db:migrate db:seed
docker-compose up