(Wie man eine neue Version deployt.) |
(→neue Mete-Version deployen: bundle install) |
||
Line 18: | Line 18: | ||
ssh root@mete | ssh root@mete | ||
adduser mete sudo | |||
su - mete | su - mete | ||
cd mete | cd mete | ||
git pull | git pull | ||
export RAILS_ENV=production | export RAILS_ENV=production | ||
bundle install | |||
rake db:migrate | rake db:migrate | ||
rake assets:precompile | rake assets:precompile | ||
exit | exit | ||
deluser mete sudo | |||
systemctl reload mete | systemctl reload mete | ||
exit | exit |
Revision as of 16:51, 3 June 2016
mete | |
---|---|
Server für METE | |
Ort | Host:Helios |
OS | Ubuntu 14.04 LTS |
Disks | 8GB8,000 MB <br />8,000,000 kB <br />0.008 TB <br /> |
RAM | 1GiB1,024 MiB <br />1,048,576 kiB <br />1,073,741,824 B <br />9.765625e-4 TiB <br />1,073.742 MB <br /> |
Swap | 1GB1,000 MB <br />1,000,000 kB <br />0.001 TB <br /> |
Admin-Toolkit | Yes |
PAM? | No |
SSH user login? | No |
Admins | YtvwlD |
MAC address | 52:54:00:62:0b:42 |
Server für METE.
neue Mete-Version deployen
ssh root@mete adduser mete sudo su - mete cd mete git pull export RAILS_ENV=production bundle install rake db:migrate rake assets:precompile exit deluser mete sudo systemctl reload mete exit