Skip to content

Commit

Permalink
instructions on windows11
Browse files Browse the repository at this point in the history
  • Loading branch information
lidaof committed Apr 22, 2022
1 parent 6e0fc50 commit d9b3cb7
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"restructuredtext.confPath": "${workspaceFolder}/docs",
"esbonio.server.enabled": true,
"esbonio.sphinx.confDir": "/Users/dli/eg-docs/docs"
"esbonio.sphinx.confDir": "${workspaceFolder}\\docs"
}
Binary file added docs/_static/win1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/win2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/win3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/win4.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 31 additions & 2 deletions docs/installation.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Installation
============

Setup
-----
Setup on MacOSX/Linux
---------------------

* Install NodeJS from https://nodejs.org/en/

Expand All @@ -25,6 +25,35 @@ Start the browser
That's it! You are done with your mirror site.
The browser is now accessible from http://localhost:3000/browser.


Setup on Windows
----------------

To run the browser App on Windows, you can either install a subsystem for Linux, after that, the steps are pretty much same as in MacOSX and Linux, for more about
linux system in Windows, please `check Install Windows Subsystem for Linux (WSL) <https://docs.microsoft.com/en-us/windows/wsl/install>`_.

Another option is to run the App directly in Windows, steps are also similar, assume you are using PowerShell.

1. install nodejs: (it's optional to check `install necessary tools`)

.. image:: _static/win1.png

2. install git: https://git-scm.com/download/win

3. get the code from github and run ``npm install`` under ``frontend`` folder:

.. image:: _static/win2.png


4. run ``npm start`` to start the browser in local development:

.. image:: _static/win3.png

5. browser is running under Windows:

.. image:: _static/win4.png


Example commands for installation on a RHEL system
--------------------------------------------------

Expand Down

0 comments on commit d9b3cb7

Please sign in to comment.