mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-04-04 06:51:45 -04:00
Update readme info
This commit is contained in:
@@ -7,17 +7,31 @@ A live preview right in your browser so you don't need to keep sending real emai
|
||||
First, install the dependencies:
|
||||
|
||||
```sh
|
||||
npm install
|
||||
# or
|
||||
yarn
|
||||
yarn install
|
||||
```
|
||||
|
||||
Then, run the development server:
|
||||
|
||||
```sh
|
||||
npm run dev
|
||||
# or
|
||||
yarn dev
|
||||
```
|
||||
|
||||
Open [localhost:3000](http://localhost:3000) with your browser to see the result.
|
||||
Open [localhost:3001](http://localhost:3001) with your browser to see the result.
|
||||
|
||||
|
||||
### Notes
|
||||
|
||||
Right now, I can't make the email server run without breaking the backend API and web, as they require different versions of react.
|
||||
|
||||
To run the email server, temporarily install the deps in this folder. They require react 19.
|
||||
```bash
|
||||
yarn add -D @react-email/preview-server react-email
|
||||
```
|
||||
|
||||
When you are done, reinstall react 18.2 by running `yarn clean-install` at the root so that you can run the backend and web servers again.
|
||||
|
||||
## Useful commands
|
||||
|
||||
```bash
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user