Skip to content

Commit

Permalink
Merge pull request #1 from tensor4all/terasaki/update-README
Browse files Browse the repository at this point in the history
Format README.md and add setup instructions for T4APlutoExamples
  • Loading branch information
terasakisatoshi authored Sep 11, 2024
2 parents a1c8a10 + 17c20cb commit ea0ea81
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# T4APlutoExamples

This repository contains tutorials for tensor4all group written in Julia with Pluto notebook.

## Setup

- Install Julia

```sh
$ git clone https://github.com/tensor4all/T4APlutoExamples.git
$ cd T4APlutoExamples
$ julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.10.5 (2024-08-27)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using Pkg; Pkg.activate("."); Pkg.instantiate()
julia> Pkg.status()
Status `~/tensor4all/T4APlutoExamples/Project.toml`
[98e50ef6] JuliaFormatter v1.0.60
[c3e4b0f8] Pluto v0.19.46
[2fc8631c] PlutoSliderServer v0.3.31
```
## Launch Pluto Notebook
Let's run our Pluto notebook `pluto_notebooks/quantics1d.jl` for instance:
```sh
$ julia --project
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.10.5 (2024-08-27)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using Pluto; Pluto.run(notebook="pluto_notebooks/quantics1d.jl")
```
This will launch a Pluto notebook server immediately.
## How to learn more about Pluto.jl
See the official Pluto.jl tutorial [🔎 Basic Commands in Pluto](https://github.com/fonsp/Pluto.jl/wiki/%F0%9F%94%8E-Basic-Commands-in-Pluto) to learn more.

0 comments on commit ea0ea81

Please sign in to comment.