Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MAX-786 committed Jun 26, 2024
1 parent c67e7e8 commit ab50efb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,5 @@ example-nextjs-admin: ## Starts Volto, allowing reloading of the add-on during d

## Examples
.PHONY: example-nextjs-frontend
example-nextjs-frontend: ## Starts Volto, allowing reloading of the add-on during development
example-nextjs-frontend: ## Starts nextjs example frontend
pnpm example:nextjs
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,20 @@ To test against a local hydra instance
make backend-docker-start
```
***Note :*** This will also set `CORS_ALLOW_ORIGIN` to `'*'`, so there are no cors error.

### Using the example frontend

You can use one of the example frontends available at `./examples` directory.

- Running Volto Hydra:
```bash
make example-nextjs-admin
```
- Running example frontend:
```bash
make example-nextjs-frontend
```

### Deploy your frontend

Use netlify or similar and make your frontend public and then let us know by creating a ticket and we will advertise your frontend
Expand Down

0 comments on commit ab50efb

Please sign in to comment.