2
0
Files
bot/apps/docs/contribute/guides/local-installation.mdx
Brian Hann ddb7ac7915 ✏️ Rewrite "optionnal" to "optional" (#1278)
Update the spelling of the word "optionnal" to "optional" in 4 places.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
	- Made the file type selection optional in the file upload feature.
- **Bug Fixes**
- Addressed issues with color mode synchronization, persistence, and
user reset behavior.
	- Improved caching and bundling of files.
- **Documentation**
- Corrected spelling errors and typos in various documentation files for
better clarity and accuracy.
- **Style**
	- Updated admin display labels for enhanced clarity.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2024-02-22 09:16:17 +01:00

62 lines
1.7 KiB
Plaintext

---
title: 'Install the project locally'
sidebarTitle: 'Local installation'
image: '/images/contribute/writing-robot.png'
icon: 'laptop'
---
## Get started
1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your
own GitHub account and then
[clone](https://help.github.com/articles/cloning-a-repository/) it to your local device.
## Running the project locally
1. Install dependencies
```sh
cd typebot.io
pnpm i
```
2. Set up environment variables
Copy `.env.dev.example` to `.env`
Check out the [Configuration guide](https://docs.typebot.io/self-hosting/configuration) if you want to enable more options
3. Make sure you have [Docker](https://docs.docker.com/compose/install/) running
4. Make sure you have Node.js installed. I suggest you use [`nvm`](https://github.com/nvm-sh/nvm) allowing you to manage different versions. Once you installed nvm, you can install and use the latest version of Node.js: `nvm install && nvm use`
5. Start the builder and viewer
```sh
pnpm dev
```
Builder is available at [`http://localhost:3000`](http://localhost:3000)
Viewer is available at [`http://localhost:3001`](http://localhost:3001)
Database inspector is available at [`http://localhost:5555`](http://localhost:5555)
By default, you can easily authenticate in the builder using the "Github Sign In" button. For other options, check out the [Configuration guide](https://docs.typebot.io/self-hosting/configuration)
6. (Optional) Start the landing page
Copy `apps/landing-page/.env.local.example` to `apps/landing-page/.env.local`
```sh
cd apps/landing-page
pnpm dev
```
7. (Optional) Start the docs
```sh
cd apps/docs
pnpm start
```