Skip to content

Extentsions (VSC)

VerzatileDev edited this page Jun 10, 2024 · 6 revisions

Run the Website locally

For the following you require:

  • Visual studio Code
  • Ruby (Install it Here)
  • Bundler (Used to exec and run the server).

To install and view the website locally as it will be hosted on the domain:

  1. Install Ruby

  2. Add Ruby to System PATH Reference

  3. Open the terminal (CMD) - Command Prompt

    3.1 In the (CMD) write the following gem install bundler

  4. After install now use (cd) - change directory and use a path to your project

    4.1 write the command and replace the path to the directory cd path/to/your/project

  5. Now that you are on the project directory you need to install bundle to your project.

    5.1 In the (CMD) write the following - gem install, the following updates the .gem file within the project so you can run the latest host for the web.

  6. After you have installed it, you can use the following command bundle exec jekyll serve, this will serve your page on a local server and open on your selected browser usually edge.

Note:

Point 6. can be done while the project is opened via as a whole folder and go by opening the terminal on Visual studio code and use the same command to start the server to host it locally.