Skip to content

Commit

Permalink
added syntax correction of installation.rst file for bash code display
Browse files Browse the repository at this point in the history
  • Loading branch information
Emre-Yorat89 committed Aug 8, 2024
1 parent 17fbed2 commit fa95d0f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions doc/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,21 @@ The environment can be installed using:

.. code:: bash
/pypsa-distribution % conda env create -f pypsa-earth/envs/environment.yaml
.../pypsa-distribution % conda env create -f pypsa-earth/envs/environment.yaml
If the above takes longer than 30min, you might want to try mamba for faster installation:

.. code:: bash
(base) conda install -c conda-forge mamba
/pypsa-distribution % mamba env create -f pypsa-earth/envs/environment.yaml
.../pypsa-distribution % mamba env create -f pypsa-earth/envs/environment.yaml
Extra python package requirements are satisfied by manually installing them. Currently the ramp package is added to existing pypsa-earth environment by using:

.. code:: bash
/some/other/path/pypsa-distribution % conda activate pypsa-earth
.../pypsa-distribution % conda activate pypsa-earth
(pypsa-earth) pip install rampdemand
Expand All @@ -79,10 +79,10 @@ The tool provide automated ways to keep the code clean and consistent.
To make sure to install the tool, please run:

.. code:: bash
/pypsa-distribution % conda activate pypsa-earth
/pypsa-distribution % pre-commit install
.../pypsa-distribution % conda activate pypsa-earth
.../pypsa-distribution % pre-commit install
Set Configuration File
Expand Down

0 comments on commit fa95d0f

Please sign in to comment.