您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Tomas Slusny f74b2cfbf1
Merge pull request #283 from deathbeam/add-log-xmas
1周前
public Add christmas version of logo 1周前
src Update launcher to 2.1.0 1周前
.babelrc xptracker: Show total xp/ranks only when 'overall' is selected 1 个月前
.eslintrc Remove standard.js, use provided eslint 1年前
.gitignore Updated Preact to v10 rc (#222) 1 个月前
.prettierrc Remove standard.js, use provided eslint 1年前
.travis.yml Update travis.yml 11 个月前
LICENSE Add new website 2 年前
README.md Bump minimum npm version requirement to 6 9 个月前
config-overrides.js Use redirect generator for /discord redirect 1 个月前
package-lock.json Updated Preact to v10 rc (#222) 1 个月前
package.json Updated Preact to v10 rc (#222) 1 个月前
redirect.html Add launcher redirects 4 个月前
redirect.js Use /discord link for Discord invites in navbar 1 个月前

README.md

runelite.net

Build Status

Based on redux-boot.

Local development

Requirements

First, you need to install all dependencies, so run

npm install

To start local server, simply run

npm start

from console. Your app should be now running on http://localhost:3000 and you will be able to see it from your web browser. To debug Redux actions, simply check your web console.

Creating blog posts

To create blog post, navigate to _posts directory. Here, create file with format (where the time is UTC timezone)

YYYY-MM-DD-HH-mm-My-Post-Title.md

and edit it in your favorite markdown editor. Content of each post should consist of:

+ ---
+ title: 'My Post Title'
+ description: 'My Post description'
+ author: 'Me'
+ ---
+
+ ... rest of markdown content

If you do not want to display your post on home page just add skip metadata:

  ---
  title: 'My Post Title'
  description: 'My Post description'
  author: 'Me'
+ skip: true
  ---

  ... rest of markdown content

Now save it and create PR to master branch on this repo.

Adding features

To add new feature to feature list, simply take an image and put it in features directory. Then, open features.js file and add your feature at the bottom, before ]

  {
    image: '/img/features/mousehighlight.png',
    title: 'Mouse highlighting',
    description: '...',
    link: '...'
- }
+ },
+ {
+   image: '/img/features/my_feature.png',
+   title: 'My Feature Name',
+   description: 'My feature description',
+   link: 'https://example.com'
+ }
]

Now save the file and create PR to master branch on this repo.

Publishing to GitHub pages

The deployment to GitHub pages is done automatically using Travis CI GitHub pages deployement and it is deployed to the gh-pages branch from master branch.