Sharepicgenerator with Docker and Gulp.
Clone this repo
Create docker-compose.yml from docker-compose.yml.sample
Install npm dependencies with
docker-compose run node sh -c 'npm install'
Install npm dependencies in dist within node-container
cd dist && npm install
Install composer dependencies with
docker-compose run webserver sh -c 'cd dist && composer install'
Bring up the project with
docker-compose up -d
create and edit ini/config.ini
Create empty log.db-file or rsync it from live
Run make compile
to compile css and js. (Do this after very branch-checkout, or invoke file-watcher by editing a sass- or js-file)
There is also a Makefile. You can use make up
and make install
.
Bring up the project (see above) and head to http://127.0.0.1:9000. The portnumber is defined in the .env-File.
All fonts go to _dist/assets/typefaces. Place here both the ttf/otf file and the woff2-file.
woff2_compress <font.ttf>
make tenant-create
create section in config.ini for new tenanant
edit .htaccess
update config.ini on server
In directory code run
npx playwright test