Skip to content

keystrok/prefab.g8

Repository files navigation

prefab.g8

Setup an app + server easily

Why?

We wanted to make it easy for anyone to set up a new repo for building a phone app.

Prerequisites

  1. java, git, g8, brew, yarn, Xcode (12.0 or higher)
  2. brew install gradle

Usage

  1. git clone https://github.com-keystrok:keystrok/prefab.g8.git
  2. g8 file://prefab.g8 (or g8 file://prefab.g8 --name=myproject to accept all defaults)
  3. cd {project name}
  4. ./init.sh
  5. That's it!

Your projects will be generated inside this folder, e.g. app and server should be opened in intellij as separate projects. Alternatively, if you want to open all the projects in one intellij window, you can open the root and then select: file -> new -> Module from exsiting sources and select server for example