Skip to content

Instantly share code, notes, and snippets.

@nkottary
Created November 13, 2018 06:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nkottary/847a55dcd73b8ff608433042e1506f05 to your computer and use it in GitHub Desktop.
Save nkottary/847a55dcd73b8ff608433042e1506f05 to your computer and use it in GitHub Desktop.
Script for apps video
0:06 = Hello, in this video we will see how to create apps on JuliaBox
0:23 = Click on the "Launch" button to start Jupyter
0:37 = Now we go back to the dashboard and open up the "My Apps" tool
0:42 = The default values describe a built-in example app that you can run. Just hit "Deploy"
1:03 = Now you should see the app on the dashboard. Click on the "Short Link" to connect to the app. This link can also be shared with o
ther users.
1:13 = Lets wait for the app to start up. This app accepts some code on the left box and runs it when you click the button. The results
are on the right.
1:34 = Now lets see the julia code for this app
1:46 = First we copy the file from the default location to our home so that Jupyter can see it.
2:26 = Now click on the file on Jupyter to open it
2:38 = So here's some julia code that uses Mux and a bunch of other packages to server web pages. You can edit this file and create your
own app.
2:51 = Lets see how to do that. Lets start a "Hello World" app.
3:03 = Create a julia file containing the code
3:30 = Save the file and go back to the "My Apps" tool
3:40 = Enter the name of the file you just created in the Runfile field.
3:50 = Enter the name of the app as "helloworld" adn hit deploy
4:10 = You should see the app on your dashboard. Click it to check on the status. Click on the reload button to update the the status.
4:45 = You can see the logs of the app in the logs directory in Jupyter. Click on logs then click on the folder with the same name as yo
ur app.
5:07 = Thank you!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment