Code Monkey home page Code Monkey logo

solid's Introduction

Smartdown on Solid, Solid in Smartdown

Smartdown is like cheese. You can put it in stuff, and you can put stuff in it.

-- Dan Keith, 2018

This repository is a tree of mostly Smartdown documents, and a pair of scripts to publish this tree to either a Solid POD or a GitHub Pages site.

These docs are partial, but may be helpful.

Installing Smartdown for Solid

The installation has been tested for the following configuration:

  • Markdown/Smartdown files placed in /public/
  • A /public/Home.md file
  • Files suffixed with .md
  • A folder named smartdown/ placed in /public/smartdown/
  • An index.html placed in /public/smartdown/index.html

Publish to Solid with a Script: publishToSolid.sh

I wrote a publishToSolid.sh script that uses curl to upload relevant files to the https://smartdown.solid.community site. For security purposes, the publishToSolid.connect.sid file is NOT placed in Git, and it should be customized with your particular connect.sid value as per the instructions here.

In addition, if you adapt publishToSolid.sh for your own purposes, you will want to edit the line beginning with export base=.

Publish to GitHub Pags with a Script: publishToGitHub.sh

I wrote a publishToGitHub.sh script that creates a dist/ directory, populates it with a heirarchy of files, and then pushes the tree to GitHub in a gh-pages branch. GitHub will then serve up these files via https://smartdown.github.io/solid/.

solid's People

Contributors

doctorbud avatar

Watchers

 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.