http://internetjestdlaludzi.pl
https://centrumcyfrowe.pl/reforma
To build and modify this project you need npm
.
If you're using yarn, like the original author - @zmilonas - replace all npm
and npm run
with yarn
.
- Install dependencies
npm install
- Run the bundled style and script generation script and start the webserver
npm run start
The local copy of the site should be available at the address printed in the console - default is http://localhost:8080
- Run the watcher on the styles and the scripts, while running the server
npm run watch
npm run deploy
Generation prepares a wordpress page template.
After the script is ran, a template.php
file and dist
directory are updated with deployment ready code.
To publish it just copy the template.php
and dist/
to remote location in the root theme folder (e.g. wp-content/themes/cc2018/.
). Image assets are not managed by the deploy script, they are kept in assets/
directory in the repo and in dist/images/internetjestdlaludzi
on remote.