Difference between revisions of "NextCloud: Install: Heroku Shield"

From Gratiel's Wiki
(Init Page, Clone From Heroku, structure.)
 
(→‎Destroy App)
 
(4 intermediate revisions by the same user not shown)
Line 7: Line 7:
  
 
== Prerequisites ==  
 
== Prerequisites ==  
−
* Git
+
You are going to need the following [[NextCloud: Install: Heroku#Services |Services]] and [[NextCloud: Install: Heroku#Software |Software]] before getting started with your [https://nextcloud.com/ NextCloud] installation on [https://id.heroku.com/login Heroku].
 +
 +
Be sure you have accounts setup for the following [[NextCloud: Install: Heroku#Services |Services]] listed below.
 +
Also, be sure you have installed the following [[NextCloud: Install: Heroku#Software |Software]] listed below.
 +
 
 +
=== Services ===
 +
* [https://id.heroku.com/login Heroku Account]
 +
* [https://id.heroku.com/login Heroku Personal Spaces, Shield Account]
 +
* [https://aws.amazon.com/ AWS Account (Amazon Web Services)]
 +
 
 +
=== Software ===
 +
* [https://git-scm.com/downloads Git]
 +
* [https://nextcloud.com/install/#instructions-server Latest NextCloud for Server]
 +
** [https://download.nextcloud.com/server/releases/ Other Releases for NextCloud for Server]
 +
* [https://getcomposer.org/doc/00-intro.md Composer]
 +
* [https://devcenter.heroku.com/articles/getting-started-with-php?singlepage=true#set-up Heroku CLI]
 +
sudo snap install heroku --classic
  
 
== Setup Heroku ==
 
== Setup Heroku ==
 +
 +
=== Login to Heroku CLI (Ubuntu) ===
 +
heroku login
 +
 +
=== Create App ===
 +
* ''This needs to be created after git. IT will automatically create the remote links needed in Git''
 +
heroku create infinite-lowlands-38883 --team=that-shield-team --space=that-shield-space
 +
 +
Heroku will return a sample app and location. Use this for the rest of the install.
 +
Creating app... done, <span style="color:#8787D7">⬢ infinite-lowlands-38883</span>
 +
<span style="color:#06989A">https://infinite-lowlands-38883.herokuapp.com/</span> | <span style="color:#4E9A06">https://git.heroku.com/infinite-lowlands-38883.git</span>
 +
 +
=== Destroy App ===
 +
heroku apps:destroy infinite-lowlands-38883 --confirm infinite-lowlands-38883
 +
 +
Destroying <span style="color:#8787D7">⬢ infinite-lowlands-38883</span>  (including all add-ons)... done
 +
 +
=== Heroku Add-ons ===
 +
* Heroku Postgres
  
 
== Install NextCloud - Phase 1 ==
 
== Install NextCloud - Phase 1 ==
Line 16: Line 51:
  
 
== Install NextCloud - Phase 3 ==
 
== Install NextCloud - Phase 3 ==
 +
 +
== Setup PostgreSQL in a Separate Schema ==
 +
* Only available on Heroku Shield
  
 
== Patches ==
 
== Patches ==

Latest revision as of 15:15, 31 July 2019

Preface

  • Ephemeral Drive
    • Locked Code
    • S3
  • Databases
    • PostgreSQL

Prerequisites

You are going to need the following Services and Software before getting started with your NextCloud installation on Heroku. 

Be sure you have accounts setup for the following Services listed below. 
Also, be sure you have installed the following Software listed below.

Services

Software

sudo snap install heroku --classic

Setup Heroku

Login to Heroku CLI (Ubuntu)

heroku login

Create App

  • This needs to be created after git. IT will automatically create the remote links needed in Git
heroku create infinite-lowlands-38883 --team=that-shield-team --space=that-shield-space

Heroku will return a sample app and location. Use this for the rest of the install.

Creating app... done, ⬢ infinite-lowlands-38883
https://infinite-lowlands-38883.herokuapp.com/ | https://git.heroku.com/infinite-lowlands-38883.git

Destroy App

heroku apps:destroy infinite-lowlands-38883 --confirm infinite-lowlands-38883

Destroying ⬢ infinite-lowlands-38883  (including all add-ons)... done

Heroku Add-ons

  • Heroku Postgres

Install NextCloud - Phase 1

Install NextCloud - Phase 2

Install NextCloud - Phase 3

Setup PostgreSQL in a Separate Schema

  • Only available on Heroku Shield

Patches

Backup

Restore

Upgrading

Return