-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,33 @@ | ||
SnapDump | ||
======== | ||
|
||
A software to create, manage and review snapshot dumps in pharo | ||
SnapDump is a software for pharo to create and manage runtime snapshots. When developing software in pharo and an exception occurs we get a debugger window openend. This is not possible if the application is deployed in a server environment. Usually activity of a server is written in logfiles but logfiles are a very poor way of getting error feedback from your application. In pharo we can snapshot the state of the application when an exception occurs. This snapshot can be serialized using the fuel graph serializer and uploaded to a server. By uploading the snapshot to a server we can use SnapDump in a distributed scenario where multiple servers give feedback. | ||
|
||
Quick start | ||
----------- | ||
|
||
SnapDump is available as docker application for easy deployment. To keep the snapshots on server restart we need to create a volume where snapshots can be stored. You do this by invoking | ||
|
||
$ docker volume create SnapDump | ||
|
||
SnapDump uses internally the port 5555 for the server. This can be mapped to a local port on the host by specifying on the docker commandline. To start the server with that port and the former created volume invoke | ||
|
||
$ docker run -p 8888:5555 -v SnapDump:/snapshots zweidenker/snap-dump | ||
|
||
Download a pharo image and install the SnapDump client | ||
|
||
$ curl get.pharo.org/64/70+vm | bash | ||
$ ./pharo-ui Pharo.image | ||
|
||
Open a playground and type | ||
|
||
"configure the SnapDump client to access the docker container" | ||
SnapDump uri: 'http://localhost:8888/api'. | ||
"Uploaded a few snapshots to see something in the client" | ||
SDHandler fillExamples. | ||
"open the ui" | ||
SnapDump ui | ||
|
||
You should see this | ||
|
||
 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.