The two most commons tools for coding in Julia are:
Other solutions exist (SublimeText, Emacs, etc.). The general mantra is:
Juno is for code, Jupyter notebooks are for data. (Mike Innes, developer of Juno)
Jupyter notebooks do not easily show code from multiple files, do not have a debugging GUI, and it doesn't have as easy access to a console, making it less friendly for developing large projects (like packages). However, Jupyter notebooks store their outputs in a convenient form, which is good for saving and sharing results. I suggest that you learn both and use the right tool for the right job.
Go to www.juliabox.com and sign in to start using Julia on a cloud-based Jupyter notebook. (Note: you may need to use
Pkg.update() to update your local package database ("METADATA") on first use).
To setup the workshop notebooks in JuliaBox, click on the "Sync" tab and under "Git Repositories" paste in https://github.com/UCIDataScienceInitiative/IntroToJulia for the "Git Clone URL", and click the +. Upon refreshing the homepage you should see the IntroToJulia folder appear. Click into this folder, and click into the Notebooks folder.
Unless you're a serious hacker, I recommend installing Julia by downloading one of the binaries from http://julialang.org/downloads/. There are ready-to-use binaries for most operating systems. Just download, run the installer, and use Julia.
If you want to build from the source, the repository along with the build instructions are at https://github.com/JuliaLang/julia.
To install Jupyter notebooks (IJulia), use the following commands in the REPL:
using LibGit2 # Download the notebooks into the folder IntroToJulia LibGit2.clone("https://github.com/UCIDataScienceInitiative/IntroToJulia", "IntroToJulia") # Open up IJulia at this location using IJulia notebook(detached=true,dir=joinpath(pwd(),"IntroToJulia"))
For later in the workshop you will need some libraries installed. Suggested libraries to install are:
Optional libraries, depending on which projects you explore later, include:
The Julia documentation can be found at http://docs.julialang.org/en/latest
Documentation can be found from the REPL by using
? in front of a command.
The Juno documentation can be found at http://docs.junolab.org/latest/
The following documentation pages are good pages to read in full:
Julia is changing fast: there are updates every few months which bring in loads of new features, packages are updating all of the time, and the documentation, while good, is not entirely complete. The best fix for these problems is to be engaged in the Julia community.
The main Julia community resources are: