You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/howtos/development_with_kds.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
##Running Kolibri with local Kolibri Design System
1
+
# Running Kolibri with local Kolibri Design System
2
2
3
3
Kolibri uses components from [Kolibri Design System](https://github.com/learningequality/kolibri-design-system) (KDS). KDS is installed in Kolibri as a usual npm dependency.
Copy file name to clipboardExpand all lines: docs/howtos/installing_pyenv.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
-
##Installing pyenv
1
+
# Installing pyenv
2
2
3
-
###Prerequisites
3
+
## Prerequisites
4
4
5
5
[Git](https://git-scm.com/) installed.
6
6
7
-
###Install
7
+
## Install
8
8
9
9
First check to see if you already have `pyenv` installed by running this in a terminal window:
10
10
@@ -91,7 +91,7 @@ The output of the command tells you to add certain lines to your startup files f
91
91
92
92
**Proxy note**: If you use a proxy, export`http_proxy` and `https_proxy`, too.
93
93
94
-
### Installation of pyenv on Windows
94
+
## Installation of pyenv on Windows
95
95
96
96
1. Run PowerShell terminal as Administrator
97
97
2. Run the following installation commandin the PowerShell terminal :
@@ -110,7 +110,7 @@ press Y not A, to execute Policy Change for this power shell only.
110
110
111
111
then run the previous command again
112
112
113
-
### Restart your shell
113
+
## Restart your shell
114
114
115
115
For the `PATH` changes to take effect, run the following command.
116
116
@@ -124,13 +124,13 @@ To check if pyenv is installed correctly, type:
124
124
125
125
`pyenv version`
126
126
127
-
### Install Python build dependencies
127
+
## Install Python build dependencies
128
128
129
129
[**Install Python build dependencies**](https://github.com/pyenv/pyenv/wiki#suggested-build-environment) before attempting to install a new Python version.
130
130
131
131
You can now begin using Pyenv.
132
132
133
-
### Installing a Python Version with PyEnv
133
+
## Installing a Python Version with PyEnv
134
134
135
135
Use the `pyenv`commandin your terminal to install a recent version of Python:
Copy file name to clipboardExpand all lines: docs/howtos/pyenv_virtualenv.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
-
##Using pyenv-virtualenv
1
+
# Using pyenv-virtualenv
2
2
3
-
###Virtual Environments
3
+
## Virtual Environments
4
4
5
5
Virtual environments allow a developer to have an encapsulated Python environment, using a specific version of Python, and with dependencies installed in a way that only affect the virtual environment. This is important as different projects or even different versions of the same project may have different dependencies, and virtual environments allow you to switch between them seamlessly and explicitly.
6
6
7
-
###Using `pyenv virtualenv` with pyenv
7
+
## Using `pyenv virtualenv` with pyenv
8
8
9
9
To create a virtualenv for the Python version used with pyenv, run `pyenv virtualenv`, specifying the Python version you want and the name of the virtualenv directory. For example, because we can make a virtual environment for Kolibri using Python 3.9.9:
10
10
@@ -17,7 +17,7 @@ If you get 'command not found' or a similar error, and pyenv virtualenv is not i
17
17
will create a virtualenv based on Python 3.9.9 under `$(pyenv root)/versions` in a
18
18
folder called `kolibri-py3.9`.
19
19
20
-
###List existing virtualenvs
20
+
## List existing virtualenvs
21
21
22
22
`pyenv virtualenvs` shows you the list of existing virtualenvs and `conda` environments.
23
23
@@ -30,7 +30,7 @@ $ pyenv virtualenvs
30
30
There are two entries for each virtualenv, and the shorter one is just a symlink.
31
31
32
32
33
-
###Activate virtualenv
33
+
## Activate virtualenv
34
34
35
35
If you want a virtual environment to always activate when you enter a certain directory, you can use the [`pyenv local`](https://github.com/pyenv/pyenv/blob/master/COMMANDS.md#pyenv-local) command.
36
36
@@ -47,7 +47,7 @@ pyenv activate kolibri-py3.9
47
47
pyenv deactivate
48
48
```
49
49
50
-
###Delete existing virtualenv
50
+
## Delete existing virtualenv
51
51
52
52
Removing the directories in `$(pyenv root)/versions` and `$(pyenv root)/versions/{version}/envs` will delete the virtualenv, or you can run:
Copy file name to clipboardExpand all lines: docs/howtos/rebasing_a_pull_request.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
##Rebasing a Pull Request
1
+
# Rebasing a Pull Request
2
2
3
3
On certain occasions, it might be necessary to redirect a pull request from the develop branch to the latest release branch, such as `release-v*` (e.g., `release-v0.16.x` when working on version 0.16), or vice versa. This guide outlines the steps for rebasing a feature branch related to your pull request while maintaining a clean commit history.
0 commit comments