Giter Site home page Giter Site logo

bolt_themes_static_pages's Introduction

bolt_themes_static_pages

A repository to host static websites to demonstrate my Bolt CMS themes.

Setup

(Re)Install Bolt CMS

php composer.phar update
php app/nut cache:clear
php app/nut database:update

We used znegva:password as login for the database in this repository.

after initial git pull

git submodule update --init --recursive

Update submodules (our themes)

git submodule update --recursive --remote

Build static site with wget

run the Bolt-server

make serve_bolt

on other terminal: create the static mirror site inside of the tmp-directory

make mirror_to_tmp

This calls wget and creates a mirror inside of /tmp. We assume our Bolt server is reachable at 0.0.0.0:8000!
Since wget does rename some jpg to jpgg inside of srcset for unknown reasons we need to rerename them...
Wget also does not copy resources specified by untypical attributes, since the gpx-feature uses such an attribute to define the gpx-file we need to copy this file by hand!
All this is done inside of make mirror_to_tmp.

preview mirror inside tmp To quickcheck if mirroring was successful we can start a simple webserver!

make serve_tmp

copy to docs directory

When your mirror looks fine it can be copied to its own subdir inside of the docs directory.

make use_tmp_as_hyde_for_bolt_mirror

The docs-dir will be be published using github-pages.

bolt_themes_static_pages's People

Contributors

znegva avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.