The NUnit.org website
Перейти к файлу
Chris Maddock 786c1563fc
Update _posts/2020-01-26-nunit-console-3.11.md
Co-Authored-By: Joseph Musser <me@jnm2.com>
2020-01-26 16:46:22 +00:00
.devcontainer Build and develop the website in Docker 2019-09-23 21:49:44 -04:00
.vscode Added Visual Studio Code setting to hide generated folders 2017-07-13 05:46:37 -04:00
_includes Remove PayPal include 2019-09-24 21:32:17 -04:00
_layouts Update the copyright for all legacy documentation 2018-03-03 15:20:09 -05:00
_posts Update _posts/2020-01-26-nunit-console-3.11.md 2020-01-26 16:46:22 +00:00
_sass Fixing layout on mobile 2015-12-16 08:55:52 -05:00
css fixing footer markup 2018-03-21 22:58:58 +05:00
docs Removing file duplication of images and files in docs 2017-07-13 06:07:56 -04:00
files Added most of the pages from the original site 2015-12-14 22:46:58 -05:00
fonts/bootstrap Switched to bootstrap 2015-12-15 08:27:06 -05:00
img Fix .NET Foundation logo 2018-09-14 12:56:07 +01:00
index.php Redirect from the old help URIs to the new ones 2017-06-30 14:59:06 -04:00
js Fix the collapsing code regions 2017-07-12 20:17:45 -04:00
nuget Added most of the pages from the original site 2015-12-14 22:46:58 -05:00
.editorconfig Build and develop the website in Docker 2019-09-23 21:49:44 -04:00
.gitattributes Build and develop the website in Docker 2019-09-23 21:49:44 -04:00
.gitignore Don't check in the Gemfile.lock 2019-09-24 01:57:09 +00:00
CNAME Create CNAME 2018-07-03 16:23:14 -04:00
Gemfile Update Gem packages to versions without security issues 2019-09-24 02:00:45 +00:00
LICENSE Initial commit 2015-12-14 20:52:54 -05:00
README.md Build and develop the website in Docker 2019-09-23 21:49:44 -04:00
_config.yml Build and develop the website in Docker 2019-09-23 21:49:44 -04:00
atom.xml Fixed the RSS and Atom feeds 2015-12-25 10:45:52 -05:00
contact.md Fix broken link 2017-07-01 11:31:26 +01:00
documentation.html Use updated links on doc pages 2017-08-30 21:12:12 +01:00
donations.md Update donations page based on feedback 2019-09-24 21:35:51 -04:00
download.html Update download.html 2020-01-26 15:34:14 +00:00
favicon.ico Added a favicon 2015-12-15 23:07:41 -05:00
feed.xml Initial import of the new site 2015-12-14 20:51:43 -05:00
index.html Remove requests for donations and other minor updates 2019-09-23 22:11:26 -04:00
news.html Added the last three news items 2017-06-29 20:38:16 -04:00
rss.xml Fixed the RSS and Atom feeds 2015-12-25 10:45:52 -05:00
sitemap.txt Added RSS feeds and sitemaps 2015-12-24 17:37:26 -05:00

README.md

NUnit.org website

To get started developing the website, you have two options. You can develop in a Docker Container using VS Code, or you can install Ruby locally and develop locally.

Installing Docker and VS Code

Do this if you want to develop in a Docker container using VS Code.

  1. Install and configure Docker for your operating system.

    Windows / macOS:

    1. Install Docker Desktop for Windows/Mac.
    2. Right-click on the Docker taskbar item and update Settings / Preferences > Shared Drives / File Sharing with the drive the web app source code is located in. If you run into trouble, see Docker Desktop for Windows tips on avoiding common problems with sharing.

    Linux:

    1. Follow the official install instructions for Docker CE/EE for your distribution.
    2. Add your user to the docker group by using a terminal to run: sudo usermod -aG docker $USER
    3. Sign out and back in again so your changes take effect.
  2. Install Visual Studio Code.

  3. Install the Remote Development extension pack.

Quick Start for Docker with VSCode

  1. Start VS Code and click on the quick actions Status Bar item in the lower left corner of the window.

    Quick actions status bar item

  2. Select Remote-Containers: Open Folder in Container... from the command list that appears, and open the root folder of the project you just cloned.

  3. The window will then reload, but since the container does not exist yet, VS Code will create one. This may take some time, and a progress notification will provide status updates. Fortunately, this step isn't necessary the next time you open the folder since the container will already exist.

    Dev Container Progress Notification

  4. After the container is built, VS Code automatically connects to it and maps the project folder from your local file system into the container.

  5. Open the terminal in VS Code to a bash prompt within the container by clicking on Terminal > New Terminal

  6. In the terminal, type bundle exec jekyll serve to build and run the web site. (See below)

  7. Open the web site at http://localhost:4000.

  8. Begin developing in Visual Studio Code.

Installing Ruby and Jekyll locally

  1. Install Ruby 2.2 (Linux, Mac, Windows)
  2. If you are on Windows, install DevKit
  3. gem install bundler
  4. bundle install

Building the project

GitHub will do this automatically when you push, but this allows you to view the site locally before you commit.

  1. jekyll serve