Skip to content

Latest commit

 

History

History
 
 

one-recommended

One Project

Welcome to One!

Setup

Now you'll need to run a postgres database. We've included a docker-compose.yml that will set up everything for you.

You'll want to set up docker first:

Now run:

docker-compose up

Set up your DB:

yarn db:init

Developing

You can now run your One app in development:

yarn dev

If using the default port, you can open it on the web now with https://0.0.0.0:8081

And on Native, you should be able to load it using the same URL. You'll need a native app set up, for this we recommend Expo Go.

Production

To build your app for production:

Web

yarn build:web

iOS

First, you'll need to generate the native code for your app:

yarn prebuild:native

Afterward, follow the instructions printed in the terminal to build and upload your iOS app for distribution.