The NUnit.org website
Перейти к файлу
dependabot[bot] 1479ac58db
Update github-pages requirement from ~> 231 to ~> 232 (#158)
* Update github-pages requirement from ~> 231 to ~> 232

Updates the requirements on [github-pages](https://github.com/github/pages-gem) to permit the latest version.
- [Release notes](https://github.com/github/pages-gem/releases)
- [Commits](https://github.com/github/pages-gem/compare/v231...v232)

---
updated-dependencies:
- dependency-name: github-pages
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Gemfile

* Create .ruby-version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sean Killeen <SeanKilleen@gmail.com>
2024-08-12 09:25:21 -04:00
.devcontainer
.github
.vscode
_includes
_layouts
_posts
_sass
css
favicons
files
fonts/bootstrap
img
index.php
js
nuget
.editorconfig
.gitattributes
.gitignore
.ruby-version
404.html
CNAME
CODE_OF_CONDUCT.md
Gemfile
LICENSE
README.md
_config.yml
atom.xml
contact.md
donations.md
download.html
feed.xml
index.html
news.html
rss.xml
sitemap.txt

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