Skip to content

A static polish website about the upcoming EU reform.

License

Notifications You must be signed in to change notification settings

zmilonas/internetjestdlaludzi

Repository files navigation

Internet jest dla ludzi (reforma) static webiste - Centrum Cyfrowe

http://internetjestdlaludzi.pl

https://centrumcyfrowe.pl/reforma

Builiding locally

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.

  1. Install dependencies
npm install
  1. 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

For active development

  1. Run the watcher on the styles and the scripts, while running the server
npm run watch

Deployment

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.

About

A static polish website about the upcoming EU reform.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published