Swift.org website
See the codeSwift.org website goals include:
See website overview for more information about the Swift.org website goals, content governance and contribution guidelines.
Swift.org uses Jekyll, a blog-aware, static site generator in Ruby.
Requirements
To run the site locally, enter the following commands into a terminal window:
git clone https://github.com/swiftlang/swift-org-website.git
cd swift-org-website
bundle install
LC_ALL=en_us.UTF-8 bundle exec jekyll serve --config _config.yml,_config_dev.yml
open "http://localhost:4000"
If you’d like to contribute to this project, please run Prettier before submitting your pull request to ensure consistent code style across the project.
Requirements
npm install
npm run prettify
On macOS 26 and later, you can use the Apple Container tool to host and run the website.
First install and run container:
brew install container
brew services start container
Then build and run the site:
make build
make website
The website will be available at http://localhost:4000
First build the site with Docker Compose:
docker compose run build
Then you can run the site:
docker compose up website
The website will be available on http://localhost:4000
738 followers · starred Jan 2023
255 followers · starred Mar 2022
53 followers · starred Mar 2022
551 followers · starred Mar 2022
Swift.org website
See the codeSwift.org website goals include:
See website overview for more information about the Swift.org website goals, content governance and contribution guidelines.
Swift.org uses Jekyll, a blog-aware, static site generator in Ruby.
Requirements
To run the site locally, enter the following commands into a terminal window:
git clone https://github.com/swiftlang/swift-org-website.git
cd swift-org-website
bundle install
LC_ALL=en_us.UTF-8 bundle exec jekyll serve --config _config.yml,_config_dev.yml
open "http://localhost:4000"
If you’d like to contribute to this project, please run Prettier before submitting your pull request to ensure consistent code style across the project.
Requirements
npm install
npm run prettify
On macOS 26 and later, you can use the Apple Container tool to host and run the website.
First install and run container:
brew install container
brew services start container
Then build and run the site:
make build
make website
The website will be available at http://localhost:4000
First build the site with Docker Compose:
docker compose run build
Then you can run the site:
docker compose up website
The website will be available on http://localhost:4000
738 followers · starred Jan 2023
255 followers · starred Mar 2022
53 followers · starred Mar 2022
551 followers · starred Mar 2022