-
-
Notifications
You must be signed in to change notification settings - Fork 5
Extentsions (VSC)
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:
-
Install Ruby
-
Add Ruby to System PATH Reference
-
Open the terminal (CMD) - Command Prompt
3.1 In the (CMD) write the following
gem install bundler
-
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
-
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. -
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 usuallyedge
.
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.
Content Written By VerzatileDev, 2024