Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Copy the public key for the user and machine you want to deploy from using Mina: cat ~/.ssh/id_rsa.pub
  2. ssh to the server you want to deploy to
  3. sudo su to the user for the application
  4. Edit the user's authorised ssh keys: vi ~/.ssh/authorized_keys
    • If this file doesn't exist, you can create it
  5. Paste in the copied key, then save and quit

If your Mina commands appear to time out the first time you try to run them from your VM:

  • ssh to the target server first as your username (eg ssh if243@digilin-02.bath.ac.uk)
  • exit the server
  • try running the Mina command again

Mina deploy using uniofbath-deploy gem

...