65 | Hello World
66 |
67 | Run Test Handler
68 |
69 |
70 |
71 |
72 |
73 | ```
74 |
75 | Run your program. A new public/private keypair will be created and used to secure your new Dashborg account. You'll also see a secure link to your new application. Click to view your application!
76 |
77 | That's it. You've created and deployed, secure, interactive web-app that is directly calling code running on your local machine!
78 |
79 | ## Adding BLOBs
80 |
81 | Want to show an image, or add a CSV file your end users to download, here's how to do it:
82 | ```
83 | client.GlobalFSClient().SetPathFromFile("/image/myimage.jpg", "./path-to-image.jpg", &dash.FileOpts{MimeType: "image/jpeg"})
84 | client.GlobalFSClient().SetPathFromFile("/mydata.csv", "./path-to-csv.csv", &dash.FileOpts{MimeType: "text/csv"})
85 | ```
86 |
87 | Show the image using a regular <img> tag in your HTML template. Using the path prefix "/@raw/"
88 | allows for raw http GET access to your uploaded content:
89 | ```
90 |