Skip to content

Latest commit

 

History

History
53 lines (27 loc) · 946 Bytes

README.md

File metadata and controls

53 lines (27 loc) · 946 Bytes

🤸‍♀️️ Shenanigan Monorepo 🤸‍♀️️

How to run local

First clone onto your machine and install packages w/ yarn

git clone https://github.com/ShenaniganDApp/shenanigan-monorepo.git && cd shenanigan-monorepo && yarn

Contracts

  1. Run a testnet

    yarn chain

  2. Deploy contracts

    yarn deploy

Server

Make a new .env file in the root and copy env.sample

  1. Build

    yarn server:build

  2. Serve

    yarn server:serve

Note: Until we have hot reloading for babel, you must rerun yarn server:build after every change

App

  1. Make sure you have setup a device to run React Native. For more information visit https://reactnative.dev/docs/0.59/running-on-device

  2. Run react native metro bundler

    yarn app:start

  3. Load the schema

    yarn update-schema

  4. Start react native ios or android

    iOS users run

    yarn app:pods

    then

    yarn android || yarn ios