GithubHelp home page GithubHelp logo

ericslenk.com's Introduction

Composition

Site content is laid out like so in the content subdirectory:

content
|-- config.edn    Cryogen configuration
|-- css           Custom CSS
|-- img           Images
|-- md
|   |-- pages     Pages defined in Markdown
|   `-- posts     Posts defined in Markdown
`-- static        Other static assets to be copied directly to the public directory

While developing the site's content it is useful to run a development server which re-compiles the site as files are modified. The development server can be started with the following command:

make serve

Compilation

In order to compile the site contents from the contents and themes subdirectories to the public subdirectory run the following command:

make build

Publication

In order to publish the compiled site contents from the public subdirectory to a remote host via rsync run the following commands:

LOCAL_SRC_DIR=public/
REMOTE_HOST=ssh.nyc1.nearlyfreespeech.net
REMOTE_PORT=22
REMOTE_USER=lucidmachine_ericslenk
REMOTE_TARGET_DIR=/home/public
rsync \
  --checksum \
  --compress \
  --delete \
  --partial \
  --progress \
  --recursive \
  --rsh="ssh -p ${REMOTE_PORT}" \
  --verbose \
  "${LOCAL_SRC_DIR}" \
  "${REMOTE_USER}@${REMOTE_HOST}:${REMOTE_TARGET_DIR}"

ericslenk.com's People

Contributors

lucidmachine avatar

Watchers

 avatar  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.