Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.82 KB

CONTRIBUTING.md

File metadata and controls

48 lines (30 loc) · 1.82 KB

Contributing

Thanks for your interest in contributing to DevHub!
It's hard to do it alone, so bug reports, feature requests and other contributions are more than welcome!

Whenever possible, please make a pull request with the implementation instead of just requesting it. If the feature is big, open an issue first for discussion.

Important: DevHub is a mobile-first cross-platform project. All code syntax targets react-native, not react-dom. Make sure to use StyleSheet instead of normal CSS and to test it on both android/ios instead of only the browser.

Running it locally

Requirements

Note: On Windows, you might need to install Bash commands (e.g. via git-scm or via linux bash shell)

How to run

  • git clone git@github.com:devhubapp/devhub.git
  • yarn
  • cd packages/mobile/ios && pod install && cd -
  • yarn dev

That's it. It will start three workers: TypeScript compilation watcher, Web server (create-react-app) and the Mobile server (react-native packager). The browser will open automatically.

Alternatives to yarn dev: yarn dev:web, yarn dev:desktop, yarn dev:mobile, yarn dev:landing

To open the mobile projects, use:

  • yarn xcode
  • yarn studio