From 37e9e5ba9b7ac6507ca7b92fa138232e16713b97 Mon Sep 17 00:00:00 2001 From: Radoslav Gatev Date: Fri, 11 Jun 2021 18:39:09 +0300 Subject: [PATCH] Updated README and LICENSE --- AzureDeployment/LICENSE | 54 ++++++++++++++------------------------ AzureDeployment/README.md | 20 +++++++++----- images/visualizebutton.svg | 5 ++++ 3 files changed, 38 insertions(+), 41 deletions(-) create mode 100644 images/visualizebutton.svg diff --git a/AzureDeployment/LICENSE b/AzureDeployment/LICENSE index 42bf4b3..551d195 100644 --- a/AzureDeployment/LICENSE +++ b/AzureDeployment/LICENSE @@ -1,38 +1,22 @@ -# Ghost-Azure -## Your Ghost blog ready for Azure app service deployment. -[![Deploy to Azure](https://azuredeploy.net/deploybutton.png)](https://azuredeploy.net/) -[![Visualize](http://armviz.io/visualizebutton.png)](http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2Fsolvsoftware%2FGhost-Azure%2Fazure%2Fazuredeploy.json) -[Deploy to Azure via Portal](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fsolvsoftware%2FGhost-Azure%2Fazure%2Fazuredeploy.json) -

-

+Copyright (c) 2013-2021 Ghost Foundation -## Why Ghost-Azure? -The current version of Ghost is not compatible with Azure App Service. Ghost-Azure is a production-ready template which can be hosted directly on Azure app service. We will try to maintain the ghost version updated. All contributions are welcome. +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: -## Usage -### 1. Fork this repository. -### 2. Branch out from the branch "azure". -```bash -git checkout azure -git checkout -b my_blog -``` -### 3. Install npm modules. -```bash -npm install -``` -### 4. Initialize your database. -```bash -node db.js -``` -### 5. Customize everything you want in your content folder. -### 6. Keep your fork up to date(if you want the latest ghost version). -[https://help.github.com/articles/syncing-a-fork/](https://help.github.com/articles/syncing-a-fork/) +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. -OR -```bash -git checkout my_branch -git pull https://github.com/solvsoftware/Ghost-Azure azure -``` - -## Frequently Asked Questions -https://github.com/solvsoftware/Ghost-Azure/wiki/FAQ +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. diff --git a/AzureDeployment/README.md b/AzureDeployment/README.md index 010caac..8a1db9f 100644 --- a/AzureDeployment/README.md +++ b/AzureDeployment/README.md @@ -1,23 +1,31 @@ # Ghost-Azure + ## Why Ghost-Azure? -Straight out of the box, the current 1.x and 2.x versions of Ghost aren't compatible with the Azure App Service. Ghost-Azure resolves this by providing a production-ready template which can be hosted directly on Azure App Service. In the background, an Azure Function ([Ghost-Release-Uploader](https://github.com/RadoslavGatev/Ghost-Release-Uploader)) makes sure that this repository stays up-to-date with the latest releases of Ghost. +Straight out of the box, the current versions of Ghost aren't compatible with Azure App Service. *Ghost-Azure* resolves this by providing a production-ready template that can be hosted directly on Azure App Service (on Windows). + +Note: This project hasn't introduced any changes to the original source code of Ghost. ## Demo [![Status of Demo deployment](https://vsrm.dev.azure.com/RG-GitHub/_apis/public/Release/badge/72c85fbd-8b34-4db0-8be1-f1a286cc4d59/3/4)](https://dev.azure.com/RG-GitHub/Ghost-Azure/_release?definitionId=3) -You can play with the demo web app: https://ghost-azure-demo.azurewebsites.net. Just give it some time to warm up. +You can play with the demo web app: https://ghost-azure-demo.azurewebsites.net. Just give it some time to warm up. It runs on the Free plan of Azure App Service and most of the time stays unloaded from memory. ## Installation methods -I suggest forking this repository into your own to avoid changes I make to my repository to negatively impact your installation. + +I suggest forking this repository into your own to avoid changes I make to this repository that may negatively impact your installation. ### One-click deploy -[![Deploy to Azure](https://azuredeploy.net/deploybutton.png)](https://azuredeploy.net/) -[![Visualize](http://armviz.io/visualizebutton.png)](http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FRadoslavGatev%2FGhost-Azure%2Fazure%2Fazuredeploy.json) + +![Deploy to Azure](https://aka.ms/deploytoazurebutton) +[![Visualize](https://raw.githubusercontent.com/RadoslavGatev/Ghost-Release-Uploader/master/images/visualizebutton.svg?sanitize=true)](http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FRadoslavGatev%2FGhost-Azure%2Fazure%2Fazuredeploy.json) [Deploy to Azure via Portal](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FRadoslavGatev%2FGhost-Azure%2Fazure%2Fazuredeploy.json) ### Azure App Service Deployment Center + More info on [Microsoft Docs](https://docs.microsoft.com/en-us/azure/app-service/deploy-continuous-deployment#deploy-continuously-from-github) ## Contributing to the project + Feedback with improvements and pull requests from the community will be highly appreciated and accepted. -Please open Pull requests only in the [Ghost-Release-Uploader repository](https://github.com/RadoslavGatev/Ghost-Release-Uploader) as commits to Ghost-Azure are fully automated by it. + +Please open Pull requests only in the [Ghost-Release-Uploader repository](https://github.com/RadoslavGatev/Ghost-Release-Uploader) as commits to Ghost-Azure are fully automated by Azure DevOps Pipelines that merges the original code from https://github.com/TryGhost/Ghost with the files needed for Azure App Service. diff --git a/images/visualizebutton.svg b/images/visualizebutton.svg new file mode 100644 index 0000000..825ec7c --- /dev/null +++ b/images/visualizebutton.svg @@ -0,0 +1,5 @@ + + + + +