2
0

Add authentication

This commit is contained in:
Baptiste Arnaud
2021-11-29 15:19:07 +01:00
parent 68dd491eca
commit 5e14a94dea
51 changed files with 5036 additions and 90 deletions

View File

@ -1,6 +1,60 @@
# Getting Started
<div align="center">
<h1>Typebot</h1>
<a href="https://github.com/prisma/prisma/blob/main/CONTRIBUTING.md"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" /></a>
<a href="https://github.com/prisma/prisma/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-AGPL-blue" /></a>
<br />
<a href="https://docs.typebot.io">Quickstart</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://www.typebot.io/">Website</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://docs.typebot.io">Docs</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://www.typebot.io/blog">Blog</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://twitter.com/Typebot_io">Twitter</a>
<br />
<hr />
</div>
```sh
yarn set version berry
yarn install
```
## Development (localhost)
1. Clone the repo
```sh
git clone https://github.com/Typebot-io/typebot.git
```
2. Install packages with yarn
```sh
yarn set version berry
yarn install
```
3. Copy `.env.example` to `.env`
4. Configure environment variables in the `.env` file.
5. Setup the database
```sh
yarn dev:setup
```
6. Run the applications
```sh
yarn dev:builder
```
```sh
yarn dev:viewer
```
7. Open [Prisma Studio](https://www.prisma.io/studio) to look at or modify the database content
```sh
yarn db:inspect
```
## Deployment
TO-DO