.. How to Set up SpineOpt.jl documentation .. |execute| image:: ../../spinetoolbox/ui/resources/menu_icons/play-circle-solid.svg :width: 16 .. _How to Set up SpineOpt.jl: ************************* How to Set up SpineOpt.jl ************************* Installing Julia and SpineOpt.jl from Toolbox --------------------------------------------- #. Start Spine Toolbox #. Select **File -> Settings** from the main menu and open the *Tools* page. #. Click the **Install Julia** button. After clicking the button, *Julia Installer* wizard appears which guides you through the installation. Click the **Next**, **Install Julia** and **Finish** buttons to proceed through the installation steps. After the wizard finishes, your Julia settings should look similar to this: .. image:: img/settings_tools_default.png :align: center #. Next, you need to install **SpineOpt.jl** Julia package. You can do this by clicking the **Add/Update SpineOpt** button. After clicking the button, *SpineOpt Installer* wizard appears. Click **Next** twice and finally **Install SpineOpt**. **Wait until the process has finished** and you are greeted with this screen. .. image:: img/spineopt_install_wizard_successful.png :align: center Close the wizard. #. Click **Ok** to close the **Settings** window Installing the SpineOpt plugin ------------------------------ .. note:: The SpineOpt Plugin is not a requirement to run SpineOpt.jl, it is provided for convenience and as an example to get you started quickly. #. Create a new project (**File -> New project...**) #. Back in the main window, select **Plugins -> Install plugin…** from the menu #. Select `SpineOpt` and click **Ok**. After a short while, a red **SpineOpt Plugin Toolbar** will appear in the main window. Spine Toolbox and Julia are now correctly set up for running **SpineOpt.jl**. Next step is to `verify the installation `_ (takes you to SpineOpt documentation). See also `Tutorials `_ in SpineOpt documentation for more advanced use cases. For more information on how to select a specific Python or Julia version, see :ref:`Setting up Consoles and External Tools`.