Updated Install Tracks 2.5 on Ubuntu 20.10 (markdown)

ghost-from-the-past 2021-06-14 09:50:39 +02:00
parent dfc2c11f3e
commit 7532da945d

@ -240,6 +240,12 @@ mysql> quit
<s>&gt;rake --rakefile=/var/www/tracks/Rakefile db:migrate RAILS_ENV=production</s><br/>
&gt;bundle exec rake db:migrate RAILS_ENV=production
</blockquote>
<p>If you get the error : "ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime", that means that yourJavaScript runtime has lost its magic or you don't have a JavaScript runtime installed.</p>
<p>When we installed "libapache2-mod-passenger" it suggested to install "nodejs"; so just install (or re-install) it."</p>
<blockquote>
>apt install nodejs
</blockquote>
<h3>Precompile assets</h3>
<p>Static assets (images, stylesheets, and javascript) need to be compiled in order for them to work correctly with the new asset pipeline feature in Rails.</p>
<p>going to the directory where Tracks is installed run</p>