In order for me to view the site, it looks like I need to run bundle exec jekyll serve
and open the server address in my web browser.
How do I go about having the viewing the site without running the command. I've went into the _site
and clicked on the index.html
file without running the server and noticed this.
Do you have any suggestions on how to go about this? There is no styling and none of the links works.
Is it possible to just place the .md
file in posts folder and be able to view it without having to run a server still styled?
Any help would be appreciated.
You can build your static files using bundle exec jekyll build
, then all your files will be in _site
.
Now you need a server to serve theses static files. You can install something like nginx
or apache
.
Once it's done you'll want to copy your static files that are inside _site
under /var/www/html/
and make sure your server is started with a command like:
sudo service nginx start