Files
psychartherapie-v2/README.md

41 lines
859 B
Markdown

# Psycharthérapie V.2
### Fonctions
- [Tina Headless CMS](https://app.tina.io) pour la gestion de contenu.
- [Vercel](https://vercel.com) pour déployer le site et visuellement éditer le site avec la route `/admin`.
## Développement local
Installation des dépendences:
```
yarn install
```
Lancer le projet localement:
```
yarn dev
```
### URLs locales
- http://localhost:3000 : accéder au site
- http://localhost:3000/admin : accès au cloud tina local et permet l'édition
### Building the Starter Locally (Using the hosted content API)
Replace the `.env.example`, with `.env`
```
NEXT_PUBLIC_TINA_CLIENT_ID=<get this from the project you create at app.tina.io>
TINA_TOKEN=<get this from the project you create at app.tina.io>
NEXT_PUBLIC_TINA_BRANCH=<Specify the branch with Tina configured>
```
Build the project:
```bash
yarn build
```