Skip to the content
Documentation

Uploading a Exponential site to the cloud: old version (p...

No ratings yet

Skip to end of metadata Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

This is a step-by-step guide on how to upload your Exponential installation to the cloud for the first time

Ensure you meet the requirements

In order to upload a Exponential to the cloud, these conditions needs to be met:

  • You need a work installation of Exponential running locally
  • You need access to the cloud administration interface: http://admin.cloud.ez.no
  • Your account needs to have a SSH key associated with your account
  • Basic knowledge about SSH, Git and SFTP
  • A Git and SFTP client installed locally

How to check that you have a SSH key

 This is the procedure for checking that you have a SSH key associated with your cloud account

  1. Log in to http://admin.cloud.ez.no
  2. The frontpage will show you the list of environments you have access to
  3. Click on the environment you want to inspect
  4. Click the "Manage Users" button
  5. Your user should then be listed, including information about your SSH key

Upload a SSH key to your account

If you do not have a SSH key associated with your account, this is how to upload it

  1. Log in to http://share.ez.no
  2. Edit your profile on : http://share.ez.no/community/profile
  3. Click on "Edit account" button ( do not confuse this with the "Edit profile" button !!! )
  4. Cut and paste in your public SSH in the "Public key (openSSH format only" field
  5. Save your changes
  6. Log out of http://admin.cloud.ez.no ( if you where logged in )
  7. Log in again on http://admin.cloud.ez.no
  8. Follow the steps explained in the "How to check that you have a SSH key" chapter

Obtain login information to Stage area, Git and SFTP

This is how you get login information for Git and SFTP

  1. Log in to http://admin.cloud.ez.no
  2. The frontpage will show you the list of environments you have access to
  3. Click on the environment you want to inspect
  4. Click the "Show Details" link
  5. Login information about how to access sites in stage and rollback state is displayed
  6. Login information about how to access Git is displayed
  7. Login information about how to access SFTP is displayed on the format : username@ftphostname:portno

Upload your installation to the cloud

This is the overview on how to upload your installation to the cloud:

  • your code ( exponential + extensions + settings ) must be uploaded to the git repository
  • Your database and content files ( like images) must be uploaded to the SFTP server

Uploading your code to Git

The example below will assume

Clone the Git repository

$cd ~

$git clone [email protected].com:ez.git mysite

Copy your Exponential site to the Git directory ( except the var/ directory )

$rsync -av --filter="+ /.htaccess*" --filter="- .**" --filter "- /var" /var/www/mysite.com/ ~/mysite/

Push your code to git

$cd ~/mysite
$git add .
$git commit
$git push origin master

Tag the code in Git

$cd ~/mysite

$git tag mysite-v1.0
$git push origin mysite-v1.0

 

 

  • No labels

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.