https://github.com/zetavg/one-stytch-241118
https://github.com/zetavg/one-stytch-241118
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zetavg/one-stytch-241118
- Owner: zetavg
- Created: 2024-11-18T20:27:07.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-18T20:27:42.000Z (7 months ago)
- Last Synced: 2025-05-06T15:53:40.491Z (28 days ago)
- Language: TypeScript
- Size: 753 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
- On Mac, we recommend [OrbStack](https://orbstack.dev) as it's faster.
- Otherwise [Docker Desktop](https://www.docker.com/products/docker-desktop/).Now run:
```bash
docker-compose up
```Set up your DB:
```bash
yarn db:init
```## Developing
You can now run your One app in development:
```bash
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](https://expo.dev/go).
## Production
To build your app for production:
### Web
```bash
yarn build:web
```### iOS
First, you'll need to generate the native code for your app:
```bash
yarn prebuild:native
```Afterward, follow the instructions printed in the terminal to build and upload
your iOS app for distribution.