Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Tomas Slusny f74b2cfbf1
Merge pull request #283 from deathbeam/add-log-xmas
1 vecka sedan
public Add christmas version of logo 1 vecka sedan
src Update launcher to 2.1.0 1 vecka sedan
.babelrc xptracker: Show total xp/ranks only when 'overall' is selected 1 månad sedan
.eslintrc Remove standard.js, use provided eslint 1 år sedan
.gitignore Updated Preact to v10 rc (#222) 1 månad sedan
.prettierrc Remove standard.js, use provided eslint 1 år sedan
.travis.yml Update travis.yml 11 månader sedan
LICENSE Add new website 2 år sedan
README.md Bump minimum npm version requirement to 6 9 månader sedan
config-overrides.js Use redirect generator for /discord redirect 1 månad sedan
package-lock.json Updated Preact to v10 rc (#222) 1 månad sedan
package.json Updated Preact to v10 rc (#222) 1 månad sedan
redirect.html Add launcher redirects 4 månader sedan
redirect.js Use /discord link for Discord invites in navbar 1 månad sedan

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.