-
Notifications
You must be signed in to change notification settings - Fork 247
Deploying locally
damios edited this page Aug 28, 2020
·
17 revisions
To test your changes locally, you have to deploy jekyll on your machine. This can be done in the following way:
- Install a full Ruby development environment.
- Install Jekyll and bundler gems:
gem install jekyll bundler
- In your working directory, install the other dependencies of the gemfile:
bundle install
- Run Jekyll locally:
$ bundle exec jekyll serve
> Configuration file: /Users/octocat/my-site/_config.yml
> Source: /Users/octocat/my-site
> Destination: /Users/octocat/my-site/_site
> Incremental build: disabled. Enable with --incremental
> Generating...
> done in 0.309 seconds.
> Auto-regeneration: enabled for '/Users/octocat/my-site'
> Configuration file: /Users/octocat/my-site/_config.yml
> Server address: http://127.0.0.1:4000/
> Server running... press ctrl-c to stop.
- Preview your local site at: http://localhost:4000