fixed gitignore and readme
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -5,4 +5,5 @@ build/
|
|||||||
tmp/
|
tmp/
|
||||||
temp/
|
temp/
|
||||||
dist/
|
dist/
|
||||||
log/
|
log/
|
||||||
|
ormconfig.json
|
||||||
12
README.md
12
README.md
@@ -1,7 +1,7 @@
|
|||||||
# Awesome Project Build with TypeORM
|
# My new Jokes-Webpage
|
||||||
|
This is version 2 of my Jokes-Webpage.
|
||||||
|
|
||||||
Steps to run this project:
|
Major upgrades:
|
||||||
|
- Database enabled
|
||||||
1. Run `npm i` command
|
- Dynamic backgrounds
|
||||||
2. Setup database settings inside `ormconfig.json` file
|
- REST-API
|
||||||
3. Run `npm start` command
|
|
||||||
24
ormconfig.template.json
Normal file
24
ormconfig.template.json
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"type": "mysql",
|
||||||
|
"host": "",
|
||||||
|
"port": 0,
|
||||||
|
"username": "",
|
||||||
|
"password": "",
|
||||||
|
"database": "",
|
||||||
|
"synchronize": true,
|
||||||
|
"logging": false,
|
||||||
|
"entities": [
|
||||||
|
"dist/entity/**/*.js"
|
||||||
|
],
|
||||||
|
"migrations": [
|
||||||
|
"dist/migration/**/*.js"
|
||||||
|
],
|
||||||
|
"subscribers": [
|
||||||
|
"dist/subscriber/**/*.js"
|
||||||
|
],
|
||||||
|
"cli": {
|
||||||
|
"entitiesDir": "dist/entity",
|
||||||
|
"migrationsDir": "dist/migration",
|
||||||
|
"subscribersDir": "dist/subscriber"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user