From 6c937b76d1385d12f20dc38ab9617039792009e3 Mon Sep 17 00:00:00 2001 From: Magnus Madsen Date: Sat, 23 Dec 2023 00:29:33 +0100 Subject: [PATCH] feat: update `GetStarted` page (#124) --- src/page/GetStarted.js | 49 ++++++------------------------------------ 1 file changed, 6 insertions(+), 43 deletions(-) diff --git a/src/page/GetStarted.js b/src/page/GetStarted.js index 8a775b9..43e4228 100644 --- a/src/page/GetStarted.js +++ b/src/page/GetStarted.js @@ -13,62 +13,25 @@ class GetStarted extends Component {

Get Started

- + -
Using the Online Playground

- You can try Flix online at play.flix.dev. + We recommend to use Flix from Visual Studio Code. In addition, Flix has an online playground and can be installed locally.

-
- - + -
Using Visual Studio Code
- -

- Or you can install Flix in Visual Studio - Code: -

- +

Installing the Flix Visual Studio Code Extension

-
- - - -
Manually downloading and running the compiler
-

-

    -
  1. Ensure that you have at least Java 11 installed. You can check with java - -version. -
  2. -
  3. Download the latest version of the Flix compiler (flix.jar) at https://github.com/flix/flix/releases/latest. -
  4. -
  5. Create an empty folder (e.g. mkdir flixproject) and place the - downloaded Flix JAR (flix.jar) into that folder. -
  6. -
  7. Enter the created directory (e.g. cd flixproject) and run java - -jar flix.jar init to create an empty Flix project. -
  8. -
  9. Run java -jar flix.jar run to compile and run the project.
  10. -
  11. Flix will compile the project and execute the main function (located - in src/Main.flix). -
  12. -
-

- -
- -
); }