Files
wekan/docs/Platforms/FOSS/Source/Install-source-without-sudo-on-Linux.md
T
Lauri OjansivuandClaude Opus 4.8 7b66884ba3 docs: fix bare wiki-style links to relative paths of existing docs pages
Many docs still used flat GitHub-wiki page-name links like [Backup](Backup),
[OAuth2](OAuth2) or [FAQ](FAQ) that only resolved on the old wiki; in the docs/
hierarchy they were broken. Rewrite them to correct relative paths of the
existing pages (e.g. ](Backup) -> ](Backup.md), ](OAuth2) -> ](../Login/OAuth2.md),
](Sandstorm) -> ](../Platforms/FOSS/Sandstorm/Sandstorm.md)).

Mapping: page name -> docs/<...>/<Name>.md by filename, with explicit handling
for renamed pages (Caddy/Nginx-Webserver-Config, Wekan-Markdown, the Sandstorm
grain export page, Uberspace) and the REST-API-<X> family -> docs/API/<X>.md.
Ambiguous names resolved by preferring a same-directory file or the primary page.
Anchors and markdown titles preserved. 280 links across the docs tree.

Out of scope (left as-is): source-code references (models/*.js etc.) and
[Link](url) placeholders, which are not docs pages.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-21 21:03:27 +03:00

1.6 KiB

In-progress script for installing npm modules locally. Not tested.

Anyone: If you get this working, edit this wiki and add remaining to be installed locally.

TODO

Only this run with sudo

sudo apt-get install build-essential c++ capnproto nodejs nodejs-legacy npm git curl

Install npm modules etc locally

# Local node module install from here:
# https://docs.npmjs.com/getting-started/fixing-npm-permissions

# If NPM global package directory does not exists
if [ ! -d "~/.npm-global" ]; then
  # Create it
  mkdir ~/.npm-global
fi

# If .npm-global/bin is in the path
if grep -Fxq "export PATH=~/.npm-global/bin:$PATH" ~/.bashrc
then
    # Continue
else
    # Add it to path
    echo "export PATH=~/.npm-global/bin:$PATH" >> ~/.bashrc
    # Add it to current path in RAM
    export PATH=~/.npm-global/bin:$PATH
fi

Install packages globally to local ~/.npm-global directory

npm -g install n
npm -g install npm@4.6.1 
npm -g install node-gyp
npm -g install node-pre-gyp
npm -g install fibers@1.0.15

Install meteor

Continue at Install from source