Instructions Accordeone
A: Google Sheet (Content)
-> Create a Google Sheet with a tab named “Content”
In Content tab:
-> Give cell A1 the name: “Short”
-> Give cell B1 the name: “Long”
-> Add content
-> Create a second tab in the Google Sheet, and name it PUBLISH
-> Create a text link in the A1 cell (or whatever cell you prefer)
Publish your google sheet to the web. Choose the .csv option, copy the key:
-> Go to the menu (not browser menu but menu in the google sheet)
-> Go to menu item File - Publish to the web
-> Choose not “Entire Document” but only the tab that contains the content
-> Choose not “Web page” but “Comma-separated values (.csv)”
-> Copy the url and paste in a text file to keep it
-> Copy the key part
We will create a link to a page that contains a PUBLISH button.
-> Use this as a boilerplate url: https://zzzzzzzzz.org/a/xxxxxxxxx/data/publish.php?site=yyyyyyyyy
-> Replace https://zzzzzzzzz.org/a/xxxxxxxxx with the desired url (later on we will create this location on the world wide web)
-> Replace yyyyyyyyy with the correct key
-> Put the word PUBLISH in a cell
-> Create a link via the menu
-> Use above url as the url
We now have a link to a page that contains the PUBLISH button.
B: Accordeone (System files)
Git checkout
-> Do a git checkout of https://github.com/kordwarshuis/accordeone/tree/master/public/config
The dist/ directory contains de files for an Accordeone.
Add content
-> Add something meaningfull in the following files:
presentation-title.htm (for example: “Keri”)
presentation-title-sub.htm (for example: “What you didn’t know”)
presentation-title2.htm (for example: “Keri”)
-> Change the code to your needs in this file:
page-header.htm
-> change styling in css/custom.css
Upload
The content of the dist directory is the Accordeone and should live in a directory on the server. Use anything that works: FTP, SSH, CP, RSYNC.
Example:
rsync -vrt --delete --exclude=/data/content.csv --exclude=/config.example ./. blockcbird@lexington.digistate.nl:domains/blockchainbird.org/public_html/a/xxxxxxxxx/
explanation:
Do not delete the content csv file:
--exclude=/data/content.csv