Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gargantext-ihaskell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
gargantext-ihaskell
Commits
c185373b
Unverified
Commit
c185373b
authored
Jul 29, 2019
by
Vaibhav Sagar
Committed by
GitHub
Jul 29, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1063 from mpilgrem/win-docs
Help more Windows 10 users use IHaskell, via WSL
parents
623f0c6a
0f51a6f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
9 deletions
+36
-9
README.md
README.md
+36
-9
No files found.
README.md
View file @
c185373b
...
@@ -16,11 +16,6 @@ The [wiki](https://github.com/gibiansky/IHaskell/wiki) also has more extensive d
...
@@ -16,11 +16,6 @@ The [wiki](https://github.com/gibiansky/IHaskell/wiki) also has more extensive d
### Interactive In-Browser Notebook
### Interactive In-Browser Notebook
**Note:**
IHaskell does not support Windows. To use on Windows, install
Virtualbox, install Ubuntu or another Linux distribution, and proceed with the
install instructions.
# Installation
# Installation
## Linux
## Linux
...
@@ -31,6 +26,9 @@ Some prerequisites; adapt to your distribution.
...
@@ -31,6 +26,9 @@ Some prerequisites; adapt to your distribution.
sudo
apt-get
install
-y
python3-pip git libtinfo-dev libzmq3-dev libcairo2-dev libpango1.0-dev libmagic-dev libblas-dev liblapack-dev
sudo
apt-get
install
-y
python3-pip git libtinfo-dev libzmq3-dev libcairo2-dev libpango1.0-dev libmagic-dev libblas-dev liblapack-dev
```
```
Install
`stack`
, clone this repository, install Python requirements, install
`ihaskell`
, and install the Jupyter kernelspec with
`ihaskell`
.
```
bash
```
bash
curl
-sSL
https://get.haskellstack.org/ | sh
curl
-sSL
https://get.haskellstack.org/ | sh
git clone https://github.com/gibiansky/IHaskell
git clone https://github.com/gibiansky/IHaskell
...
@@ -41,8 +39,8 @@ stack install --fast
...
@@ -41,8 +39,8 @@ stack install --fast
ihaskell
install
--stack
ihaskell
install
--stack
```
```
if you want to use jupyterlab (right now only version ~0.33), you need to install the jupyterlab ihaskell
If you want to use jupyterlab (right now only version ~0.33), you need to
extension to get syntax highlighting with:
install the jupyterlab ihaskell
extension to get syntax highlighting with:
```
bash
```
bash
jupyter labextension
install
ihaskell_jupyterlab
jupyter labextension
install
ihaskell_jupyterlab
...
@@ -83,6 +81,35 @@ stack exec jupyter -- notebook
...
@@ -83,6 +81,35 @@ stack exec jupyter -- notebook
_Tested on macOS Sierra (10.12.6)_
_Tested on macOS Sierra (10.12.6)_
## Windows
IHaskell does not support Windows, however it can be used on Windows 10 via
Windows Subsystem for Linux (WSL). If WSL is not installed, follow the
[
Installation Guide for Windows 10
](
https://docs.microsoft.com/en-us/windows/wsl/install-win10
)
.
The following assumes that Ubuntu is picked as the Linux distribution.
In the Ubuntu app, follow the steps above for Linux.
Jupyter Notebook is now ready to use. In the Ubuntu app, launch a Notebook
Server, without opening the notebook in a browser:
```
bash
jupyter notebook
--no-browser
```
Returning to Windows 10, open a browser and copy and paste the URL output in the
step above (the token will differ).
```
bash
Or copy and
paste
one of these URLs:
http://localhost:8888/?token
=
9ca8a725ddb1fdded176d9e0e675ba557ebb5fbef6c65fdf
```
_Tested on Windows 10 (build 18362.175) with Ubuntu 18.04 on WSL_
Alternatively, install Virtualbox, install Ubuntu or another Linux distribution,
and proceed with the install instructions.
## Docker
## Docker
To quickly run a Jupyter notebook with the IHaskell kernel, try the
`Dockerfile`
To quickly run a Jupyter notebook with the IHaskell kernel, try the
`Dockerfile`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment