GithubHelp home page GithubHelp logo

gmarica01 / ghost Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chadly/ghost

0.0 1.0 0.0 4.7 MB

Ghost on Azure App Service

Home Page: https://www.chadly.net/ghost-on-azure/

License: MIT License

JavaScript 78.39% CSS 5.01% HTML 15.75% XSLT 0.59% Batchfile 0.27%

ghost's Introduction

Ghost on Azure App Service

This is my fork of Ghost 1.0 with changes to run on Azure App Service. Read here for a full introduction.

Branches

This repo is setup with a few branches for easier maintenance. The ghost branch is where I commit the Ghost releases as they come out unchanged. The azure branch (the default branch) is where I make only the changes necessary to get it running on Azure App Service. I rebase this branch off of ghost as new releases come out. I then create a separate branch for each site I deploy. This way I can make theme customizations and tweaks to individual sites and rebase those changes off of the azure branch.

Changes on the Azure Branch

  • Add a db.js file in the root to make it easy to initialize/migrate a SQLite database (since I can't run the CLI tool on Azure).
  • Force config.js to get the port it should run on from PORT env variable instead of SERVER_PORT. This is to make iisnode happy.
  • Add web.config & iisnode.yml - standard stuff to host node on IIS.
  • Add support for HSTS headers. Technically, this isn't required to get Ghost running on Azure, but you should probably do it anyway.

To see these changes in detail, see the branch comparison.

ghost's People

Contributors

chadly avatar

Watchers

George Marica avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.