![]() ![]() ![]() Now, open up your favorite text editor to /etc/nginx/conf.d/jekyll. It's better to use something like RVM, so that sudo isn't required. ![]() Note that for the gem install instruction, it is better not to use sudo. After successful installation of conda, you will notice your command prompt is prepended with (base) to reflect an activate conda base environment. To get started, you can install Miniconda, a lightweight version of the installer. After that, jekyll was installed correctly. Step 3: Setup jekyll in a virtual environment. We'll install Nginx, which will forward requests from port 80 to 4000.įirst, get the package: yum install nginx -y sudo apt-get install ruby1.9.1-dev (or try: ruby-dev instead) gem install jekyll if this fails then sudo gem install jekyll. jekyll buildĪnd finally, let's start it: bundle exec jekyll serve -detachīecause Jekyll runs on port 4000, visitors will be required to add the port into the URL, which isn't very good. We need to create the blog now - feel free to change myblog to the title of your blog. Now, create a user for it: useradd jekyll In the absence of a Gemfile, one must manually ensure that listed plugins have been installed prior to invoking Jekyll. Simply execute the following to install Gem dependencies of Jekyll: gem install jekyll bundler Please allow for a few minutes and once you've been returned to the prompt, continue to the next step.Īwesome! Now, we need to get NodeJS as it is a dependency of Ruby on Rails. This will take a while, as everything is compiled. I am a Chinese student, when I first run gem install jekyll in my computer, it show that ERROR: Could not find a valid gem jekyll (> 0) in any repository ERROR: Possible alternatives: jekyll I tried a lot of ways and finally find the. Now, let's grab Ruby's package manager (RVM). Please make sure you're logged in as the root user. Step 1: Installing Ruby on Railsįirst, log on to your instance/server and update your packages. Jekyll is static and requires little memory, which means it can run on the 768MB Vultr instance for low traffic. Navigate to your jekyll folder D:Program Filesjekyll run gem cleanup inside that folder after that run gem update (also in that folder). It doesn't require any databases and it works with a language many are familiar with (Ruby on Rails). Jekyll is a good alternative to WordPress. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |