Add 127.0.0.1 sites.techpump.local
line in your /etc/hosts
file. This is for managing sites.
Add 127.0.0.1 cdn.techpump.local
line in your /etc/hosts
file. This is for cdn of public sites.
Add 127.0.0.1 cerdas.com
line in your /etc/hosts
file. This is demo site.
Add 127.0.0.1 conejox.com
line in your /etc/hosts
file. This is demo site.
Please, add write permissions to directories: /src/App/Sites/templates/cached_main
, /src/vendor
and /public/sites
.
cd server && docker-compose up -d
You can browser http://cerdas.com:8080 or http://conejox.com:8080 in your favorite navigator.
You can access to site admin zone using http://sites.techpump.local:8080 url.
You can use admin / techpump credentials. You can modify them from ``src/Config/Config.php` file.
- Head to Admin zone
- Click in
Add
button - Fill inputs and save form.
- Add your css files to /public/sites/site_domain/css
- Add
127.0.0.1 site_domain
in your/etc/hosts
- That's all
From /var/www/html/src/codeception
( inside of container ) run:
php ../vendor/bin/codecept run --steps