зеркало из https://github.com/mozilla/meao.git
c1980d786f
This is a minor change to avoid the repo being automatically archived. |
||
---|---|---|
_drafts | ||
_includes | ||
_layouts | ||
_posts | ||
public | ||
utils | ||
.editorconfig | ||
.gitignore | ||
404.html | ||
CODE_OF_CONDUCT.md | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE.md | ||
README.md | ||
_config.yml | ||
about.md | ||
atom.xml | ||
docker-run.sh | ||
index.html |
README.md
MEAO
This is the source code repository for the The Marketing Engineering And Operations Team Blog.
Run with Docker
- Run the Docker container:
./docker-run.sh
This will take about a minute to start on macOS.
The site (with drafts) is available at http://localhost:4000/meao/
Run with Ruby
- Install Bundler:
gem install bundler
- Install dependencies:
bundle install --path vendor/bundle
- Serve the site with or without drafts enabled:
bundle exec jekyll serve
bundle exec jekyll serve --drafts
The site is available at http://127.0.0.1:4000/meao/
Posts and Drafts
Posts appear in the _posts
folder and
have a date in the filename, such as
_posts/2017-07-04-happy-birthday-america.md
. These are displayed in time
order, and posts with future dates are not published.
Drafts appear in the _drafts
folder
and do not have a date in the filename, such as
_drafts/my-cool-blog-post.md
. They are useful for authoring a post, and
then moving it to the _posts
folder when you are ready for a PR. Drafts
must be enabled in jekyll
to view drafts.