Cobbled-paths: Difference between revisions

From creative crowd wiki
Jump to navigation Jump to search
No edit summary
No edit summary
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
  $ useradd --system --no-create-home --shell=/sbin/nologin cobbler
  $ useradd --system --no-create-home --shell=/sbin/nologin cobbler


in /var/www/html/tools.cobbled-paths
in <code>/var/www/html/cobbled-paths</code>


  $ chown -R octomode:www-data .
  $ chown -R octomode:www-data .
Line 25: Line 25:
ERROR
ERROR


<syntaxhighlight>
<syntaxhighlight lang="bash">
   Updating crates.io index
   Updating crates.io index
   Downloaded svgbob_cli v0.7.2
   Downloaded svgbob_cli v0.7.2
Line 37: Line 37:


</syntaxhighlight>
</syntaxhighlight>
Next step: update os server to bookworm

Revision as of 10:12, 26 September 2024

``Wednesday September 25th``

Goal: Install https://gitlab.constantvzw.org/osp/tools.cobbled-paths on CC

First remembering the documentation at: https://hub.vvvvvvaria.org/rosa/pads/rosa-log.raw.html

Make a "cobbler" user on the server to run cobbled-paths with this user. In this way we can restrict the access of this user to the rest of the server. It's a way to make sure that the pads in octomode cannot be used to write code in a specific way, that it can be executed on the server.

$ useradd --system --no-create-home --shell=/sbin/nologin cobbler

in /var/www/html/cobbled-paths

$ chown -R octomode:www-data .
$ chmod -R g+rw
$ sudo mv /home/simon/.cargo/bin/* /usr/bin
$ sudo mv /home/simoon/.local/bin/* /usr/bin
$ sudo apt install rustc
$ sudo cargo install svgbob_cli

ERROR

  Updating crates.io index
  Downloaded svgbob_cli v0.7.2
error: failed to parse manifest at `/root/.cargo/registry/src/github.com-1ecc6299db9ec823/svgbob_cli-0.7.2/Cargo.toml`

Caused by:
  failed to parse the `edition` key

Caused by:
  this version of Cargo is older than the `2021` edition, and only supports `2015` and `2018` editions.

Next step: update os server to bookworm