Skip to content

Commit

Permalink
deploy updates
Browse files Browse the repository at this point in the history
  • Loading branch information
novoselt committed Aug 23, 2024
1 parent bcd8cc0 commit 1565536
Show file tree
Hide file tree
Showing 97 changed files with 250 additions and 166 deletions.
3 changes: 2 additions & 1 deletion R_IDE.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
<li class="toctree-l1"><a class="reference internal" href="alternativeto/index.html">Alternatives</a></li>
<li class="toctree-l1"><a class="reference internal" href="main_features.html">Main Features</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="working_with.html">Working With</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="software.html">Software</a></li>
<li class="toctree-l2"><a class="reference internal" href="frame-editor.html">Frame Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="software.html">Software Environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="vscode.html">Visual Studio Code Server</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">R IDE</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#collaborative-x11-application">Collaborative X11 Application</a></li>
Expand Down
22 changes: 17 additions & 5 deletions _sources/compute_server.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,17 +186,19 @@ It may be handy also to install Google Chrome on your compute server and run it
google-chrome --no-sandbox --disable-dev-shm-usage


Becoming root and Port Forwarding
---------------------------------
.. _become_root:

You cannot become ``root`` or use ``sudo`` inside of a CoCalc project. If you try to, you will get a message like
Becoming ``root`` and Port Forwarding
-------------------------------------

You cannot become ``root`` or use ``sudo`` inside of a CoCalc project's Home Base. If you try to, you will get a message like

.. figure:: img/no_sudo.png
:width: 90%
:align: center
:alt: Error Message Using sudo

Error Message Using sudo
Error Message Using ``sudo``

On a compute server it is fully possible, just make sure that your terminal is running on a compute server as explained above:

Expand All @@ -205,7 +207,7 @@ On a compute server it is fully possible, just make sure that your terminal is r
:align: center
:alt: Using sudo on a Compute Server

Using sudo on a Compute Server
Using ``sudo`` on a Compute Server

.. warning::
Since you can do anything as ``root``, you may accidentally lose access to your compute server and your data. If this happens and you do need to regain access to data, contact support at [email protected]
Expand Down Expand Up @@ -235,6 +237,16 @@ The same address can be used to gain access to services. If any software on your
on your *local* computer and go to ``http://localhost:8123`` in your *local* browser. An interesting option to access these ports is to use :ref:`X11 Desktop <compute_server_applications>` on your compute server.


.. _crontab:

Services Control and ``crontab``
--------------------------------

CoCalc projects support :doc:`project-init` but if you want to use ``crontab``, you have to do so on a compute server.

Inside of the compute server Docker container you can also use ``supervisord``, but no ``systemd`` or ``systemctl``. If you have to use the latter, use the container escape method described above in :ref:`become_root`.


Billing for a Compute Server
----------------------------

Expand Down
9 changes: 7 additions & 2 deletions _sources/project-init.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,18 @@
Project Initialization Scripts
================================

All about the **project_init.sh** file.
All about the ``project_init.sh`` file.

.. contents::
:local:
:depth: 1

While crontab-based management of periodic tasks is not available in CoCalc projects, we offer a flexible mechanism to use regular Bash, Python, or SageMath files for the same sort of capability.
While ``crontab``-based management of periodic tasks is not available in CoCalc projects, we offer a flexible mechanism to use regular Bash, Python, or SageMath files for the same sort of capability.

.. note::

``crontab`` does work inside of :doc:`compute_server`


************************
Project Initialization
Expand Down
5 changes: 2 additions & 3 deletions ai.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Frame Editor" href="frame-editor.html" />
<link rel="next" title="Jupyter Notebooks" href="jupyter.html" />
<link rel="prev" title="Main Features" href="main_features.html" />

<link rel="stylesheet" href="_static/custom.css" type="text/css" />
Expand Down Expand Up @@ -93,7 +93,6 @@
<li class="toctree-l3"><a class="reference internal" href="#llms-in-chat-rooms-and-side-chat">LLMs in Chat Rooms and Side Chat</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="frame-editor.html">Frame Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="jupyter.html">Jupyter Notebooks</a></li>
<li class="toctree-l2"><a class="reference internal" href="latex.html">LaTeX Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="terminal.html">Linux Terminal</a></li>
Expand Down Expand Up @@ -288,7 +287,7 @@ <h2>Typeset Scientific Content with LaTeX<a class="headerlink" href="#typeset-sc
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="main_features.html" class="btn btn-neutral float-left" title="Main Features" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="frame-editor.html" class="btn btn-neutral float-right" title="Frame Editor" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
<a href="jupyter.html" class="btn btn-neutral float-right" title="Jupyter Notebooks" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>

<hr/>
Expand Down
3 changes: 2 additions & 1 deletion api/add_collaborator.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
<li class="toctree-l1"><a class="reference internal" href="../alternativeto/index.html">Alternatives</a></li>
<li class="toctree-l1"><a class="reference internal" href="../main_features.html">Main Features</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../working_with.html">Working With</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software</a></li>
<li class="toctree-l2"><a class="reference internal" href="../frame-editor.html">Frame Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software Environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="../vscode.html">Visual Studio Code Server</a></li>
<li class="toctree-l2"><a class="reference internal" href="../R_IDE.html">R IDE</a></li>
<li class="toctree-l2"><a class="reference internal" href="../x11.html">X11 Graphical Desktop</a></li>
Expand Down
3 changes: 2 additions & 1 deletion api/add_license_to_project.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
<li class="toctree-l1"><a class="reference internal" href="../alternativeto/index.html">Alternatives</a></li>
<li class="toctree-l1"><a class="reference internal" href="../main_features.html">Main Features</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../working_with.html">Working With</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software</a></li>
<li class="toctree-l2"><a class="reference internal" href="../frame-editor.html">Frame Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software Environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="../vscode.html">Visual Studio Code Server</a></li>
<li class="toctree-l2"><a class="reference internal" href="../R_IDE.html">R IDE</a></li>
<li class="toctree-l2"><a class="reference internal" href="../x11.html">X11 Graphical Desktop</a></li>
Expand Down
3 changes: 2 additions & 1 deletion api/change_email_address.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
<li class="toctree-l1"><a class="reference internal" href="../alternativeto/index.html">Alternatives</a></li>
<li class="toctree-l1"><a class="reference internal" href="../main_features.html">Main Features</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../working_with.html">Working With</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software</a></li>
<li class="toctree-l2"><a class="reference internal" href="../frame-editor.html">Frame Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software Environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="../vscode.html">Visual Studio Code Server</a></li>
<li class="toctree-l2"><a class="reference internal" href="../R_IDE.html">R IDE</a></li>
<li class="toctree-l2"><a class="reference internal" href="../x11.html">X11 Graphical Desktop</a></li>
Expand Down
3 changes: 2 additions & 1 deletion api/change_password.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
<li class="toctree-l1"><a class="reference internal" href="../alternativeto/index.html">Alternatives</a></li>
<li class="toctree-l1"><a class="reference internal" href="../main_features.html">Main Features</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../working_with.html">Working With</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software</a></li>
<li class="toctree-l2"><a class="reference internal" href="../frame-editor.html">Frame Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software Environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="../vscode.html">Visual Studio Code Server</a></li>
<li class="toctree-l2"><a class="reference internal" href="../R_IDE.html">R IDE</a></li>
<li class="toctree-l2"><a class="reference internal" href="../x11.html">X11 Graphical Desktop</a></li>
Expand Down
3 changes: 2 additions & 1 deletion api/copy_path_between_projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
<li class="toctree-l1"><a class="reference internal" href="../alternativeto/index.html">Alternatives</a></li>
<li class="toctree-l1"><a class="reference internal" href="../main_features.html">Main Features</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../working_with.html">Working With</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software</a></li>
<li class="toctree-l2"><a class="reference internal" href="../frame-editor.html">Frame Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software Environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="../vscode.html">Visual Studio Code Server</a></li>
<li class="toctree-l2"><a class="reference internal" href="../R_IDE.html">R IDE</a></li>
<li class="toctree-l2"><a class="reference internal" href="../x11.html">X11 Graphical Desktop</a></li>
Expand Down
3 changes: 2 additions & 1 deletion api/copy_path_delete.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
<li class="toctree-l1"><a class="reference internal" href="../alternativeto/index.html">Alternatives</a></li>
<li class="toctree-l1"><a class="reference internal" href="../main_features.html">Main Features</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../working_with.html">Working With</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software</a></li>
<li class="toctree-l2"><a class="reference internal" href="../frame-editor.html">Frame Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software Environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="../vscode.html">Visual Studio Code Server</a></li>
<li class="toctree-l2"><a class="reference internal" href="../R_IDE.html">R IDE</a></li>
<li class="toctree-l2"><a class="reference internal" href="../x11.html">X11 Graphical Desktop</a></li>
Expand Down
3 changes: 2 additions & 1 deletion api/copy_path_status.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
<li class="toctree-l1"><a class="reference internal" href="../alternativeto/index.html">Alternatives</a></li>
<li class="toctree-l1"><a class="reference internal" href="../main_features.html">Main Features</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../working_with.html">Working With</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software</a></li>
<li class="toctree-l2"><a class="reference internal" href="../frame-editor.html">Frame Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software Environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="../vscode.html">Visual Studio Code Server</a></li>
<li class="toctree-l2"><a class="reference internal" href="../R_IDE.html">R IDE</a></li>
<li class="toctree-l2"><a class="reference internal" href="../x11.html">X11 Graphical Desktop</a></li>
Expand Down
3 changes: 2 additions & 1 deletion api/copy_public_path_between_projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
<li class="toctree-l1"><a class="reference internal" href="../alternativeto/index.html">Alternatives</a></li>
<li class="toctree-l1"><a class="reference internal" href="../main_features.html">Main Features</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../working_with.html">Working With</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software</a></li>
<li class="toctree-l2"><a class="reference internal" href="../frame-editor.html">Frame Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software Environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="../vscode.html">Visual Studio Code Server</a></li>
<li class="toctree-l2"><a class="reference internal" href="../R_IDE.html">R IDE</a></li>
<li class="toctree-l2"><a class="reference internal" href="../x11.html">X11 Graphical Desktop</a></li>
Expand Down
3 changes: 2 additions & 1 deletion api/create_account.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
<li class="toctree-l1"><a class="reference internal" href="../alternativeto/index.html">Alternatives</a></li>
<li class="toctree-l1"><a class="reference internal" href="../main_features.html">Main Features</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../working_with.html">Working With</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software</a></li>
<li class="toctree-l2"><a class="reference internal" href="../frame-editor.html">Frame Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software Environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="../vscode.html">Visual Studio Code Server</a></li>
<li class="toctree-l2"><a class="reference internal" href="../R_IDE.html">R IDE</a></li>
<li class="toctree-l2"><a class="reference internal" href="../x11.html">X11 Graphical Desktop</a></li>
Expand Down
3 changes: 2 additions & 1 deletion api/create_project.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
<li class="toctree-l1"><a class="reference internal" href="../alternativeto/index.html">Alternatives</a></li>
<li class="toctree-l1"><a class="reference internal" href="../main_features.html">Main Features</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../working_with.html">Working With</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software</a></li>
<li class="toctree-l2"><a class="reference internal" href="../frame-editor.html">Frame Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software Environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="../vscode.html">Visual Studio Code Server</a></li>
<li class="toctree-l2"><a class="reference internal" href="../R_IDE.html">R IDE</a></li>
<li class="toctree-l2"><a class="reference internal" href="../x11.html">X11 Graphical Desktop</a></li>
Expand Down
3 changes: 2 additions & 1 deletion api/create_support_ticket.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
<li class="toctree-l1"><a class="reference internal" href="../alternativeto/index.html">Alternatives</a></li>
<li class="toctree-l1"><a class="reference internal" href="../main_features.html">Main Features</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../working_with.html">Working With</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software</a></li>
<li class="toctree-l2"><a class="reference internal" href="../frame-editor.html">Frame Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software Environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="../vscode.html">Visual Studio Code Server</a></li>
<li class="toctree-l2"><a class="reference internal" href="../R_IDE.html">R IDE</a></li>
<li class="toctree-l2"><a class="reference internal" href="../x11.html">X11 Graphical Desktop</a></li>
Expand Down
3 changes: 2 additions & 1 deletion api/delete_account.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
<li class="toctree-l1"><a class="reference internal" href="../alternativeto/index.html">Alternatives</a></li>
<li class="toctree-l1"><a class="reference internal" href="../main_features.html">Main Features</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../working_with.html">Working With</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software</a></li>
<li class="toctree-l2"><a class="reference internal" href="../frame-editor.html">Frame Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software Environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="../vscode.html">Visual Studio Code Server</a></li>
<li class="toctree-l2"><a class="reference internal" href="../R_IDE.html">R IDE</a></li>
<li class="toctree-l2"><a class="reference internal" href="../x11.html">X11 Graphical Desktop</a></li>
Expand Down
3 changes: 2 additions & 1 deletion api/disconnect_from_project.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
<li class="toctree-l1"><a class="reference internal" href="../alternativeto/index.html">Alternatives</a></li>
<li class="toctree-l1"><a class="reference internal" href="../main_features.html">Main Features</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../working_with.html">Working With</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software</a></li>
<li class="toctree-l2"><a class="reference internal" href="../frame-editor.html">Frame Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software Environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="../vscode.html">Visual Studio Code Server</a></li>
<li class="toctree-l2"><a class="reference internal" href="../R_IDE.html">R IDE</a></li>
<li class="toctree-l2"><a class="reference internal" href="../x11.html">X11 Graphical Desktop</a></li>
Expand Down
3 changes: 2 additions & 1 deletion api/forgot_password.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
<li class="toctree-l1"><a class="reference internal" href="../alternativeto/index.html">Alternatives</a></li>
<li class="toctree-l1"><a class="reference internal" href="../main_features.html">Main Features</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../working_with.html">Working With</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software</a></li>
<li class="toctree-l2"><a class="reference internal" href="../frame-editor.html">Frame Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software Environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="../vscode.html">Visual Studio Code Server</a></li>
<li class="toctree-l2"><a class="reference internal" href="../R_IDE.html">R IDE</a></li>
<li class="toctree-l2"><a class="reference internal" href="../x11.html">X11 Graphical Desktop</a></li>
Expand Down
3 changes: 2 additions & 1 deletion api/get_available_upgrades.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
<li class="toctree-l1"><a class="reference internal" href="../alternativeto/index.html">Alternatives</a></li>
<li class="toctree-l1"><a class="reference internal" href="../main_features.html">Main Features</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../working_with.html">Working With</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software</a></li>
<li class="toctree-l2"><a class="reference internal" href="../frame-editor.html">Frame Editor</a></li>
<li class="toctree-l2"><a class="reference internal" href="../software.html">Software Environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="../vscode.html">Visual Studio Code Server</a></li>
<li class="toctree-l2"><a class="reference internal" href="../R_IDE.html">R IDE</a></li>
<li class="toctree-l2"><a class="reference internal" href="../x11.html">X11 Graphical Desktop</a></li>
Expand Down
Loading

0 comments on commit 1565536

Please sign in to comment.