## Summary - fix typos in `packages/twenty-website/README.md` ## Testing - `npx nx format:check` *(fails: Could not find Nx modules)* ------ https://chatgpt.com/codex/tasks/task_e_68506cb30dcc832095fbe4b9b360fe8d
33 lines
711 B
Markdown
33 lines
711 B
Markdown
# Twenty-Website
|
|
|
|
This is used for the marketing website (twenty.com).
|
|
This is not related in any way to the main app, which you can find in twenty-front and twenty-server.
|
|
|
|
## Getting Started
|
|
|
|
We're using Next.JS
|
|
We're using Postgres for the database. Mandatory for the website to work, even locally.
|
|
|
|
1. Copy the .env.example file to .env and fill in the values.
|
|
|
|
2. Run the migrations:
|
|
|
|
```bash
|
|
npx nx run twenty-website:database:migrate
|
|
```
|
|
|
|
3. From the root directory:
|
|
|
|
```bash
|
|
npx nx run twenty-website:dev
|
|
```
|
|
|
|
Then open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
|
|
|
Or to build in prod:
|
|
|
|
```bash
|
|
npx nx run twenty-website:build
|
|
npx nx run twenty-website:start
|
|
```
|