2018-05-14 13:56:01 +00:00
|
|
|
caption: Ruby Server
|
2020-06-14 10:48:13 +00:00
|
|
|
color: #78909C
|
|
|
|
community-author: Jim Foltz
|
2018-05-14 13:56:01 +00:00
|
|
|
created: 20180514011710789
|
2018-05-14 14:01:38 +00:00
|
|
|
delivery: Server-side Script
|
2018-05-14 13:56:01 +00:00
|
|
|
description: DIY script you can run as a server
|
|
|
|
method: save
|
2020-06-14 10:48:13 +00:00
|
|
|
modified: 20200507203129704
|
|
|
|
tags: Android Chrome Firefox [[Internet Explorer]] Linux Mac Opera Safari Saving Windows iOS Edge
|
2018-05-14 13:56:01 +00:00
|
|
|
title: Saving via a Minimal Ruby Server
|
|
|
|
type: text/vnd.tiddlywiki
|
|
|
|
|
|
|
|
This is a minimal server using Ruby Webrick. It just serves up files from the same folder and handles saving.
|
|
|
|
|
2018-05-14 14:01:38 +00:00
|
|
|
Once running, just point your web browser at http://localhost:8000 to view the folder listing, and click on your wiki html file.
|
2018-05-14 13:56:01 +00:00
|
|
|
|
2018-05-14 14:01:38 +00:00
|
|
|
See the script at:
|
2018-05-14 13:56:01 +00:00
|
|
|
|
|
|
|
https://gist.github.com/jimfoltz/ee791c1bdd30ce137bc23cce826096da
|