Skip to content

Commit

Permalink
Reworking a bit the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Jul 25, 2023
1 parent 7fe6c54 commit ac64541
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .devcontainer/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,22 +76,30 @@ License
-------

As mentioned before, you must have a valid license to run MAPDL.
When you launch the container, the file :file:`script.sh` automatically checks if the environment
variable :envvar:`ANSYSLMD_LICENSE_FILE` exists.
When you launch the container, the file :file:`script.sh` automatically
checks if the environment variable :envvar:`ANSYSLMD_LICENSE_FILE` exists.
This environment variable sets the port and IP address of the license server.
If you do not have set this environment variable before launching the
container, you are prompt to enter your license server port and address.

If you do not have set this environment variable before launching the container, you are prompt to enter
your license server port and address.

You can set your license using the environment variable :envvar:`ANSYSLMD_LICENSE_FILE` from the terminal before launching
VS Code. This is recommended if you are using Windows OS.
For example, if you have a license server at the address ``123.45.67.89``, you can set the license using:
You can set the environment variable :envvar:`ANSYSLMD_LICENSE_FILE`
from the terminal before launching VS Code.
This is recommended if you are using Windows OS.
For example, if you have a license server at the address ``123.45.67.89``,
you can set the license using:

.. code:: pwsh-session
$env:ANSYSLMD_LICENSE_FILE = '[email protected]'
code . # launch VS Code
On Linux

.. code:: bash
$ export ANSYSLMD_LICENSE_FILE [email protected]
code . # launch VS Code
And then open the folder in the container using the *Command palette*.


Expand Down

0 comments on commit ac64541

Please sign in to comment.