Basic Ghost container for octohost.
Clone this repo and use Ghost to develop your website.
Push this repo to your octohost:
git clone https://github.com/octohost/ghost.git
cd sinatra
git remote add octohost [email protected]:ghost.git
git push octohost master
PLEASE NOTE: This Dockerfile keeps the data files inside the container. You can and will lose data unless you take steps to:
- Backup your image.
- Move your datafiles to an external volume.
- Find another solution to save the state.
Ghost is a free, open, simple blogging platform that's available to anyone who wants to use it. Lovingly created and maintained by John O'Nolan + Hannah Wolfe + an amazing group of contributors.
Visit the project's website at http://ghost.org!
There are two main ways to get started with Ghost:
- Working from a Release - these are pre-built zip packages found on ghost.org. Installation instructions are below.
- Working from the GitHub repo - instructions can be found in CONTRIBUTING.md
Please Note: Releases are pre-built packages, GitHub releases (tags) are not. To install from GitHub you need to follow the contributing guide.
- Once you've downloaded one of the releases, unzip it, and place the directory wherever you would like to run the code
- Fire up a terminal (or node command prompt in Windows) and change directory to the root of the Ghost application (where config.example.js and index.js are)
- run
npm install --production
to install the node dependencies - To start ghost, run
npm start
- Visit
http://localhost:2368/
in your web browser
Warning: The Ghost file system contains your database and config. Be sure to back these up first.
- Make a backup of your data!
- Update the files by pasting new files over the top of old ones. If prompted by your OS or FTP client to 'merge' or 'replace' always choose 'merge'.
- Run npm install
- Run npm update
- Restart the application
- Log out and log back in again.
Once you have the Ghost server up and running, you should be able to navigate to http://localhost:2368/ghost/
from a web browser, where you will be prompted for a login.
- Click on the "register new user" link
- Enter your user details (careful here: There is no password reset yet!)
- Return to the login screen and use those details to log in.
Note - this is still very alpha. Not everything works yet.
For transparency and insight into our release cycle, and for striving to maintain backward compatibility, Ghost will be maintained according to the Semantic Versioning guidelines as much as possible.
Releases will be numbered with the following format:
<major>.<minor>.<patch>-<build>
Constructed with the following guidelines:
- A new major release indicates a large change where backwards compatibility is broken.
- A new minor release indicates a normal change that maintains backwards compatibility.
- A new patch release indicates a bugfix or small change which does not affect compatibility.
- A new build release indicates this is a pre-release of the version.
Want to report a bug, request a feature, or help us build Ghost? Check out our in depth guide to Contributing to Ghost. We need all the help we can get!
Keep track of Ghost development and Ghost community activity.
- Follow Ghost on Twitter, Facebook and Google+.
- Read and subscribe to the The Official Ghost Blog.
- Chat with Ghost developers on IRC. We're on
irc.freenode.net
, in the#Ghost
channel.
Copyright (C) 2013 The Ghost Foundation - Released under the MIT Lincense.
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:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
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.