Changes

Jump to navigation Jump to search
584 bytes added ,  14:15, 25 May 2019
Line 683: Line 683:        +
===== Generate CSS and download dependencies =====
    +
<pre>
 +
/srv/off/yarn install
 +
/srv/off/yarn run build
 +
</pre>
 +
 +
The commands above might fail if the correct versions of yarn and nodejs are not installed. To fix:
 +
 +
<pre>
 +
apt remove cmdtest
 +
apt remove yarn
 +
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
 +
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
 +
apt-get update
 +
apt-get install yarn
 +
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
 +
apt-get install -y nodejs
 +
yarn install
 +
yarn run build
 +
</pre>
    
==== Cron jobs ====
 
==== Cron jobs ====

Navigation menu