- Get contributor access to the repository. Email Jason Freeberg with your GitHub username. This will allow you to submit pull requests without creating and maintaining your own fork of the repository.
-
Download and install the Ruby development kit
-
Clone the project
git clone https://github.com/Azure/AppService.git
-
Install any missing Ruby gems:
bundle install
-
Run the local Jekyll server. From the project directory, run the following command:
bundle exec jekyll serve
The blog will be running at http://127.0.0.1:4000/
-
Install GitHub Desktop for making branches, pull requests, etc.
VSCODE: If you are using VSCode to author your blog post, please install Markdown Linting extension
-
Create a new branch for your article(s). If you are not using GitHub Desktop, run the command
git checkout -b [name_of_your_new_branch]
-
Create a markdown file under the
_posts
directory with the following file name format:YYYY-MM-DD-Your Article Title.md
-
Add the following to the top of your posts:
--- title: "Title should be the same (or similar to) your filename" author_name: "Your Name" tags: - example - multiple words - no more than 3 tags ---
The
tags
section is optional. -
Now you can author your markdown-formatted post. When you save the file, the local server will update the file in the browser (~30 second lag time).
- For Markdown syntax, please see the Markdown cheat-sheet.
- For Jekyll-related formatting, please see these Jekyll Docs.
- Our blog uses the popular Minimal Mistakes theme. If you would like to do advanced markup for your post, please see the theme configuration guide.
To add images, GIFs, or other digital content to your post...
-
Add the file under the
/media/YEAR/MONTH/
directory.- Where
YEAR
andMONTH
are the year and month in your article's filename. If the directory for the year or month does not yet exist, please create them.
- Where
-
Once the file is added, you can link to the file in your markdown using the path
{{ site.baseurl }}/media/YEAR/MONTH/your_file_name.jpg
. For example, to insert an image in Markdown you would use the following syntax![Required description of the image]({{ site.baseurl }}/media/2019/04/portal-picture.jpg)
For more information on
baseurl
, please see this post.
- Proofread your post for spelling and grammar:
- If you are using VSCode, please install: Markdown Linting extension and fix all linting issues.
- Install the Code Spell checker extension this should help catch spelling mistakes and typos.
- Submit a pull request
- Tag
@jasonfreeberg
in your pull request- Send an email if it is high priority