You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Matterwiki/CONTRIBUTING.md

1.5 KiB

Contributing to Matterwiki

Thank you for taking the time to contribute! 🎉👍

Basic guidelines for contributing

  • Start off by forking this repository.
  • Create a branch to start your work git checkout -b your-feature-name
  • Commit your work
  • Create a pull request

Local dev setup

  • Once you've forked this repo and cloned your fork, you would have to run npm install.
  • The development server can then be started with npm run dev which serves the JS files, assets and of course, index.html. The default localhost URL is http://localhost:5000.

The code

  • The api/ directory contains code for the node backend. Look at the API guide for more information.
  • The client/ directory contains the React jsx files and basically all the frontend code powering this app.
  • The models/ directory has the bookshelf models associated with the SQLite DB.
  • For the production version, run npm start.

Features

  • The dev setup has webpack's Hot Module Replacement (HMR) enabled, which (according to the docs),

    exchanges, adds, or removes modules while an application is running without a page reload.

    This helps improve speedup dev time significantly.

  • We've got sourcemaps enabled, so that makes debugging really easy.