Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 623 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 623 Bytes

After deploy

  1. Enter the server using ssh
  2. Reboot the server
sudo reboot
  1. Run
bundle exec mina unicorn:start
  1. Run
sudo service nginx start

To upload a file to images folder

scp_marcosserpa source_file target_file

where source_file is the path to your local image and target_file is the desired name of the image in the server. For example: source_file = Pictures/image.jpg target_file = YYYY/mm/image.jpg

OBS: To symlink the images shared folder assets to app public folder:

ln -s /home/deploy/marcoserpa/shared/public/assets/images/ assets/images