docs: fixed some more warnings
This commit is contained in:
parent
0a3a084be0
commit
69f2f3a255
2 changed files with 22 additions and 19 deletions
|
|
@ -11,26 +11,29 @@ From the server RhodeCode Enterprise is running run ishell on the instance which
|
|||
# starts the ishell interactive prompt
|
||||
$ ./rcstack cli ishell
|
||||
|
||||
|
||||
This will open an ishell interactive console. Inside the console execute the following:
|
||||
|
||||
```
|
||||
In [1]: from rc_license.models import apply_license
|
||||
In [2]: license = """
|
||||
...: PASTE LICENSE HERE
|
||||
...: """
|
||||
In [3]: apply_license(license)
|
||||
Out[3]: True
|
||||
In [4]: Session().commit()
|
||||
exit
|
||||
```
|
||||
.. code-block:: python
|
||||
:dedent: 1
|
||||
|
||||
In [1]: from rc_license.models import apply_license
|
||||
In [2]: license = """
|
||||
...: PASTE LICENSE HERE
|
||||
...: """
|
||||
In [3]: apply_license(license)
|
||||
Out[3]: True
|
||||
In [4]: Session().commit()
|
||||
exit
|
||||
|
||||
The paste license should look similar to the below
|
||||
|
||||
```
|
||||
In [2]: license = """
|
||||
...: eyJ2YWxpZF90aWxsIjogMTUwNTQ5NTUwMS40MzE4MzMsICJsYXN0X25hbWUiOiAic2QiLCAidmVyIjog
|
||||
...: MiwgInVzZXJzIjogMjUsICJjb21wYW55IjogImQiLCAic2lnbmF0dXJlIjogIkZQYTdhcWlBeUFDejFW
|
||||
...: YkthNlMyVUkzc09zN0k5eFpyb1BTTTRUdVUvZHlQK2lUTUdaeEgybTJvbFJ0MU1CbWVEQlVKR1ZhUUVW
|
||||
...: RHNNR1hvWDR3RExQUGszS0ZDckoxQU1NWWhGa0ZwUEFmTDViUTMrQ2Z2d1VkMzR4ZDM3OERZbzdaRHJs
|
||||
...: """
|
||||
```
|
||||
.. code-block:: python
|
||||
:dedent: 1
|
||||
|
||||
In [2]: license = """
|
||||
...: eyJ2YWxpZF90aWxsIjogMTUwNTQ5NTUwMS40MzE4MzMsICJsYXN0X25hbWUiOiAic2QiLCAidmVyIjog
|
||||
...: MiwgInVzZXJzIjogMjUsICJjb21wYW55IjogImQiLCAic2lnbmF0dXJlIjogIkZQYTdhcWlBeUFDejFW
|
||||
...: YkthNlMyVUkzc09zN0k5eFpyb1BTTTRUdVUvZHlQK2lUTUdaeEgybTJvbFJ0MU1CbWVEQlVKR1ZhUUVW
|
||||
...: RHNNR1hvWDR3RExQUGszS0ZDckoxQU1NWWhGa0ZwUEFmTDViUTMrQ2Z2d1VkMzR4ZDM3OERZbzdaRHJs
|
||||
...: """
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ To clear the cache completely, you can restart the VCS Server.
|
|||
you only perform this when there is very little traffic on the instance.
|
||||
|
||||
Use the following example to restart your VCS Server,
|
||||
for full details see the :ref:`RhodeCode rcstack CLI <rcstack:usage/cli-usage>`.
|
||||
for full details see the :ref:`RhodeCode rcstack CLI <rcstack:cli-usage>`.
|
||||
.. code-block:: bash
|
||||
|
||||
$ ./rcstack stack rhodecode restart vcsserver
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue