Félix Malfait 6709782894 Create LICENSE
I didn't know whether we should chose GPL or MIT.
Let's just assume people have good intentions, and not overly restrict usage by using a copyleft licence. 
The risk is someone hijacking the project (e.g. a well-funded company forking the project, then building a direct competitor on top of it), but  our choices shouldn't be driven by the worst possible outcome, they should be driven by the best possible outcome, which is that a lot of creative people use our project and take it in a successful direction we couldn't have seen ourselves
2023-04-11 13:55:45 +02:00
2023-04-07 11:25:05 +02:00
2023-04-10 18:04:49 +02:00
2023-04-10 18:04:49 +02:00
2022-12-28 16:59:22 +01:00
2023-04-11 13:55:45 +02:00
2023-04-05 15:01:20 +02:00
2023-04-05 15:01:20 +02:00
2023-04-10 18:04:49 +02:00

Twenty

Welcome to Twenty documentation!

High Level Overview

Twenty development stack is composed of 3 different layers

  • front: our frontend React app
  • server: our backend that contain endpoint, crm logic, scripts, jobs...
  • storages: postgres

Setup env variables

  1. cp ./infra/dev/.front.env.example ./front/.env and fill with values

This is the easiest way to get started contributing to twenty Make sure you have node@18 installed on your machine. You can use nvm to manage your nvm versions in case you have projects that require different node versions.

npm run install-dev npm run front

You'll need to provide your own postgres storage.

Once this is completed you should have:

We also provide a containerized environment with Docker and orchestrated with docker-compose in case it is easier for you. This install will also provision a postgres container out of the box.

Step 1: pre-requesites

Make sure to have the latest Docker and Docker-compose versions installed on your computer. You can run docker-compose --version to check if you have docker-compose installed and docker --version to check if you have docker installed.

Step 2: docker build

Build docker containers.

The whole setup experience is happening in infra/dev folder. Make sure to be in this folder:

cd infra/dev
docker-compose up --build --force-recreate

Once this is completed you should have:

Step 3: IDE setup

If you are using VSCode, please use the Dev Containers extension to open the project in a container. This will allow you to run Visual Studio on top of the docker container. This will allow you to run the project without having to install node on your machine.

Note

If you are using Docker install, make sure to ssh in the docker container during development to execute commands. You can also use Makefile to help you

Development

Tests

Unit tests:

make front-test
# coverage
make front-coverage

Storybook:

make front-storybook

Developping on server

Section TBD

Description
No description provided
Readme AGPL-3.0 324 MiB
Languages
TypeScript 98.7%
MDX 1%