For Antares team members only. You will need write access to create pull request. Email Jason Freeberg with any questions or to request access.
-
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/
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 comfortable on the command line, download GitHub Desktop.
-
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
- Pro-Tips: Copy/paste your content into Word to check spelling. Also, install the VSCode Markdown Linting extension.
- Submit a pull request
- Tag
@jasonfreeberg
in your pull request- Send an email if it is high priority