Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Getting Started page to calva.io
Also update the start page to point to this quick start option Fixes #1003 Fixes #855 Fixes #853 Fixes #811 [skip ci]
- Loading branch information
Showing
7 changed files
with
43 additions
and
10 deletions.
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
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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Getting Started | ||
|
||
Depending on wether you want to just start a Clojure REPL or you have a project you want to work with, getting started looks similar but a bit different. Both start with: | ||
|
||
0. You have VS Code started | ||
1. You install Calva | ||
|
||
## Start a Standalone REPL | ||
|
||
If you are new to Calva, a good place to start is using the command **Start a standalone ”Hello World” REPL**. | ||
|
||
![Command Palette Start Standaloe REPL](images/howto/start-hello-repl.png "Start a Standalone REPL") | ||
|
||
It will open up a file named `hallo-repl.clj` in a temporary directory, and start and connect a REPL. The file contains some sample code and a few tips on how to evaluate code in a Calva editor. | ||
|
||
![Hello REPL](images/howto/hello-repl.png "hello-repl.clj") | ||
|
||
|
||
The only prerequisite here is that you have Java installed. _No pre-installed clojure tools required._ (You will want to install these tools later, of course.) | ||
|
||
!!! Note | ||
When you are more familiar with Calva, and want a standalone REPL, there is a separate command: **Start a standalone REPL (not in project)**. It will open up a `user.clj` in a temporary directory, containing only an `(ns user)` form, and start and connect the REPL. | ||
|
||
## You have a Project? | ||
|
||
If you are new to Calva, please consider the above option first. Then when it it will be time to get [Calva connected to the REPL of your project](connect.md). | ||
|
||
## Clojure Resources | ||
|
||
If you are new to Clojure or ClojureScript altogether, please check out the guide material on the respective official sites: | ||
|
||
- [Getting Started with Clojure](https://clojure.org/guides/getting_started) | ||
- [ClojureScript Quick Start](https://clojurescript.org/guides/quick-start) | ||
|
||
There are also many great books on Clojure. [Clojure for the Brave and True](https://www.braveclojure.com/clojure-for-the-brave-and-true/) can be read for free online. It is a great resource for beginners. | ||
|
||
|
||
Happy coding! ♥️ |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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