Static site for bluewallet.io, built with Jekyll.
- Ruby 3.x (tested with Ruby 3.4)
- Bundler (
gem install bundler)
Clone the repository and install dependencies:
git clone https://github.com/BlueWallet/Website.git
cd Website
bundle installAlways run Jekyll through Bundler so the correct gem versions from Gemfile.lock are used:
bundle exec jekyll <command>Start a local development server. Jekyll defaults to the development environment, which skips production-only features such as Google Analytics.
bundle exec jekyll serveThe site is served at http://localhost:4000. Jekyll watches for file changes and rebuilds automatically.
Useful options:
# Preview unpublished drafts from _drafts/
bundle exec jekyll serve --drafts
# Bind to all interfaces (useful for testing on other devices on your network)
bundle exec jekyll serve --host 0.0.0.0
# Use a different port
bundle exec jekyll serve --port 4001Note: Changes to _config.yml are not picked up while the server is running. Restart jekyll serve after editing the config.
Jekyll has built-in LiveReload support. It injects a small script into pages and refreshes the browser when the site is rebuilt.
bundle exec jekyll serve --livereloadBy default:
- The site is served on port 4000
- LiveReload listens on port 35729
If the LiveReload port is already in use, pick another one:
bundle exec jekyll serve --livereload --livereload-port 35730No browser extension is required — Jekyll handles reloads automatically.
Build the static site for deployment. Set JEKYLL_ENV=production so production-only logic is enabled (for example, analytics and Disqus comments when configured in _config.yml).
JEKYLL_ENV=production bundle exec jekyll buildOutput is written to the _site/ directory. Serve it locally to verify the production build:
JEKYLL_ENV=production bundle exec jekyll build
bundle exec jekyll serve --skip-initial-build --no-watchOr use any static file server:
cd _site && python3 -m http.server 4000| Path | Description |
|---|---|
_config.yml |
Site configuration |
_posts/ |
Blog posts |
_docs/ |
Documentation pages |
_data/ |
YAML data files (navigation, features, etc.) |
_includes/ |
Reusable HTML/Liquid partials |
_layouts/ |
Page layouts |
_sass/ |
SCSS stylesheets |
assets/ |
CSS, JavaScript, and images |
_site/ |
Generated output (do not edit) |
Could not find jekyll-... or gem errors
Run bundle install in the project root.