2021-11-29 15:19:07 +01:00
|
|
|
<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> • </span>
|
|
|
|
<a href="https://www.typebot.io/">Website</a>
|
|
|
|
<span> • </span>
|
|
|
|
<a href="https://docs.typebot.io">Docs</a>
|
|
|
|
<span> • </span>
|
|
|
|
<a href="https://www.typebot.io/blog">Blog</a>
|
|
|
|
<span> • </span>
|
|
|
|
<a href="https://twitter.com/Typebot_io">Twitter</a>
|
|
|
|
<br />
|
|
|
|
<hr />
|
|
|
|
</div>
|
2021-11-19 10:15:13 +01:00
|
|
|
|
2021-11-29 15:19:07 +01:00
|
|
|
## 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
|