Update README.md

This commit is contained in:
DrMint 2022-02-25 15:57:09 +01:00 committed by GitHub
parent e8af7dbc1a
commit 2ce2dfd602
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 32 additions and 0 deletions

View File

@ -27,3 +27,35 @@
- State Management: [React Context](https://reactjs.org/docs/context.html)
- Persistent app state using LocalStorage
- Support for many screen sizes and resolutions
## Installation
```bash
git clone https://github.com/Accords-Library/accords-library.com.git
cd accords-library.com
npm install
```
Create a env file:
```bash
nano .env.local
```
Enter the followind information:
```txt
URL_GRAPHQL=https://url-to.strapi-accords-library.com/graphql
ACCESS_TOKEN=genatedcode-by-strapi-api
NEXT_PUBLIC_URL_CMS=https://url-to.strapi-accords-library.com/
NEXT_PUBLIC_URL_IMG=https://url-to.img-accords-library.com/
```
Run in dev mode:
```bash
./run_accords_dev.sh
```
OR build and run in production mode
```bash
./run_accords_build.sh
./run_accords_prod.sh
```