mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-06-12 15:59:18 +00:00
feat: Add Github Table as SVG (#232)
This commit is contained in:
@ -2,4 +2,44 @@
|
||||
|
||||
The server running the TCGdex API.
|
||||
|
||||
More informations at https://github.com/tcgdex/cards-database#pokemon-tcgdex
|
||||
## Installing/Running
|
||||
|
||||
### Using NodeJS/NPM
|
||||
|
||||
You will need NPM/NodeJS installed
|
||||
|
||||
1. Install deps for both this directory and the parent directory
|
||||
|
||||
```
|
||||
npm install
|
||||
cd ..
|
||||
npm install
|
||||
cd server
|
||||
```
|
||||
|
||||
2. Compile the database
|
||||
|
||||
```
|
||||
cd ..
|
||||
npm run compile
|
||||
cd server
|
||||
npm run compile
|
||||
```
|
||||
|
||||
3. run the server !
|
||||
|
||||
Dev mode
|
||||
```
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Production mode
|
||||
|
||||
```
|
||||
npm run build
|
||||
npm run start
|
||||
```
|
||||
|
||||
### Using Docker
|
||||
|
||||
Go to the parent directory and build the Dockerfile!
|
||||
|
Reference in New Issue
Block a user