Skip to content

Commit

Permalink
machine mode...
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Jun 24, 2024
1 parent f798a98 commit 57f14fd
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions src/Microdown-Blog-Tests/MicDummyBlogDeployer.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,24 @@ MicDummyBlogDeployer >> go [
createFrom: FileSystem workingDirectory / 'sourceDummy'
to: FileSystem workingDirectory / 'outputDummy'.
self launchHTTPServer.
self launchBrowser.

1 seconds wait.
self launchBrowser
]

{ #category : 'odit' }
MicDummyBlogDeployer >> launchBrowser [
WebBrowser openOn: 'http://localhost:9090/file1.html'

WebBrowser openOn: 'http://localhost:9090/index.html'
]

{ #category : 'doit' }
MicDummyBlogDeployer >> launchHTTPServer [

(ZnServer defaultOn: 9090) stop.
(ZnServer defaultOn: 9090) start.
ZnServer default
delegate:
(ZnStaticFileServerDelegate new
directory: '/Users/ducasse/Documents/Pharo/images/P12PillarSlide/outputDummy/html' asFileReference;
yourself).

ZnServer default delegate: (ZnStaticFileServerDelegate new
directory:
'/Users/ducasse/Documents/Pharo/images/P12PillarSlide/outputDummy/'
asFileReference;
yourself)
]

0 comments on commit 57f14fd

Please sign in to comment.