1.Clone this repo
git clone --recursive https://github.com/rikipm/dustcrm.git
2.Rename file sample.env
to .env
3.In file.env
change DB_PASSWORD
, DB_ROOT_PASSWORD
and COOKIE_VALIDATION_KEY
to your own
4.Run commands
docker-compose up -d
docker-compose exec apache composer update
docker-compose exec apache php yii migrate --interactive=0
5.Enter as admin by credentials admin/admin
and change admin password
1.Install LAMP/LEMP stack and redis
2.Clone this repo
git clone --recursive https://github.com/rikipm/dustcrm.git
3.Update composer dependincies
composer update
4.Rename file sample.env
to .env
5.In .env
file configure database and redis connection
6.Configure your web-server to /web
folder
7.Apply migrations
yii migrate
8.Enter as admin by credentials admin/admin
and change admin password
By default database for tests will run together with app (test_db
in docker-compose.yml
).
If you dont need tests you can remove this service.
Before testing run migrations for test database
docker-compose exec apache tests/bin/yii migrate --interactive=0
Run tests with
docker-compose exec apache vendor/bin/codecept run
for more options see official codeception documentation