b081ae34b5
refs #8141 - update importer for LTS fields - optimise for LTS export fixtures - add image/language test for LTS import - ensure post image is mapped to feature_image - create mobiledoc values from markdown and html - if mobiledoc is null, use markdown or html to create a mobiledoc markdown card - update import mapping to use locale - defaultLang in settings now maps to default_locale - language for post and user models now maps to locale - posts are not always loaded in correct same order so we select the posts we want to validate - ensure if mobiledoc field is not in export we can still import from markdown - map last_login to last_seen - for users the importer maps last_login to last_seen - add warning for legacyActiveTheme - for export with old activeTheme key provide a warning that theme is not installed - add importer test for LTS user long email - add a test for LTS export where email address could be longer than alpha - fix for importer date tests on mysql - use valueOf in moment to compare times stored in different formats - ignore warnings for not found settings in import - use a flag to ignore NotFound Entries for settings during import |
||
---|---|---|
.github | ||
content | ||
core | ||
.editorconfig | ||
.gitignore | ||
.gitmodules | ||
.jscsrc | ||
.jshintrc | ||
.npmignore | ||
.travis.yml | ||
Gruntfile.js | ||
index.js | ||
LICENSE | ||
MigratorConfig.js | ||
package.json | ||
PRIVACY.md | ||
README.md | ||
SECURITY.md | ||
yarn.lock |
The project is maintained by a non-profit organisation called the Ghost Foundation, along with an amazing group of independent contributors. We're trying to make publishing software that changes the shape of online journalism.
NOTE: If you’re stuck, can’t get something working or need some help, please head on over and join our Slack community rather than opening an issue.
Ghost 1.0-alpha Developer Install
Please note: These are the install instructions for Ghost 1.0-alpha, which is not stable. If you're looking for the latest release of Ghost, check out the stable branch or the latest release. If you get stuck, come say hi over on slack!
Important: Ghost uses yarn
(>= 0.23.x) rather than npm
to manage it's dependencies. Ensure that you have it installed and you have configured your PATH
environment variable for it to work correctly. We recommend the "Installation Script" instructions because it works better with nvm
but choose the best option for your development setup.
Install and run Ghost.
git clone git@github.com:TryGhost/Ghost.git ghost Download the Ghost code base yarn run init Short command for: yarn global add knex-migrator ember-cli grunt-cli && yarn install && grunt symlink && grunt init knex-migrator init Creates and initialises your database grunt dev Starts the express server and ember build
Run server tests
grunt test-all
Run client tests
cd core/client
ember test
Read more about the development workflows.
Deploying Ghost
The easiest way to deploy Ghost is with our official Ghost(Pro) managed service. You can have a fresh instance up and running in a couple of clicks with a worldwide CDN, backups, security and maintenance all done for you.
Not only will it save you many hours per month, but all revenue goes to the Ghost Foundation, which funds the maintenance and further development of Ghost itself. So you’ll be supporting open source software and getting a great service at the same time! Talk about win/win. 🏆
Other options are also available if you prefer playing around with servers by yourself, of course. The freedom of choice is in your hands.
Staying Up to Date
When a new version of Ghost comes out, you'll want to look over these upgrade instructions for what to do next.
You can talk to other Ghost users and developers in our public Slack team (it's pretty awesome). We have a public meeting every Tuesday at 5:30pm UK time.
New releases are announced on the dev blog. You can subscribe by email or follow @TryGhost_Dev on Twitter, if you prefer your updates bite-sized and facetious. 🎷🐢
Copyright & License
Copyright (c) 2013-2017 Ghost Foundation - Released under the MIT license.