Skip to content

bmth-arg-wiki/bmth-arg-wiki.github.io

Repository files navigation

bmth-arg-wiki.github.io

This wiki project uses Jekyll to build pages for its wiki and GitHub for its hosting, using a custom theme.

Writing for the Wiki

If you want to be a collaborator on the wiki, please reach out on the ARG Discord or email [email protected].

Our less technical volunteers can contribute by writing Markdown (tutorial). This is a relatively simple technology that you can learn the basics of in just a few minutes. It is widely used and you may even know some of it from a forum or Discord already!

Also check out the markdown example (rendered) vs. the code!

You can use any Markdown editor, including one built in on GitHub. Here, you will also be able to check the preview to make sure everything looks normal. Adding images is currently difficult, but we are looking into more editor-friendly options. :)

Developing the Wiki

This project is a simple front-end built with HTML, SCSS with Bulma and vanilla JavaScript. It combines with Jekyll (Liquid) to turn Markdown into fully functional HTML pages that can be hosted using GitHub Pages.

Are you a dev on this project or do you just want to run it? Here's the way to do it.

Step 1: Get Ruby installed

Windows

Use RubyInstaller for Windows. Be sure to use the checkmark to add it to your path, or you will have to do it manually. Restart your computer when the installation is complete.

Step 2: git from GitHub

https://github.com/bmth-arg-wiki/bmth-arg-wiki.github.io/

You need to get the code onto your computer. Clone the repository in the desired location on your computer. This might take a while due to the resources used on the webpage. Hosting is expensive and we are thankful for GitHub pages in this house. 🏠

Step 3: Run Ruby

  1. Open up your terminal. Run gem -v. If it shows anything at all: congrats! Ruby is installed.

  2. Navigate to the folder you just cloned the repository into. All the code, articles, images and more should now be in here, including something called Gemfile (no extension).

  3. We will now install the required libraries using something called bundler, with the command bundle install. Make sure you are in the same folder as the Gemfile.

  4. Read your error messages and warnings: if the system tells you to update, you need to follow the instructions.

  5. If there are no more error messages/warnings and everything has been installed, you can now run the project locally by executing the following command:

bundle exec jekyll serve

  1. View the project on http://127.0.0.1:4000. If strange things start happening, terminate the program and re-run the jekyll command. -

Step 4

Run npm to compile the SCSS.

npm start

Credit

This wiki is maintained by a team of dedicated tinfoilers on Discord.