Migration and seed are now post-install scripts.
This commit is contained in:
parent
43a690251b
commit
3bd39b0e66
|
@ -2,12 +2,10 @@
|
||||||
The latest releases from your favorite porn studios in one place.
|
The latest releases from your favorite porn studios in one place.
|
||||||
|
|
||||||
## Install & run
|
## Install & run
|
||||||
Use [nvm](https://github.com/creationix/nvm) to install a recent version of NodeJS.
|
Use [nvm](https://github.com/creationix/nvm) to install a recent version of NodeJS. Download and unpack or clone this repository, and run the following in the root directory:
|
||||||
|
|
||||||
`npm install`
|
`npm install`
|
||||||
|
|
||||||
`npm run seed`
|
|
||||||
|
|
||||||
`npm start`
|
`npm start`
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
@ -16,7 +14,7 @@ Do not modify `config/default.js`, but instead create a copy at `config/local.js
|
||||||
### Options
|
### Options
|
||||||
`npm start -- --option value`
|
`npm start -- --option value`
|
||||||
|
|
||||||
* `--site [side ID]`: Only show updates from a specific site. The site ID is typically the site name in lowercase and without cases or special characters. For example, Teens Like It Big is teenslikeitbig.
|
* `--site [site ID]`: Only show updates from a specific site. The site ID is typically the site name in lowercase and without cases or special characters. For example, Teens Like It Big is teenslikeitbig.
|
||||||
* `--network [network ID]`: Show updates from all sites of a specific network. The network ID is composed similarly to the site ID.
|
* `--network [network ID]`: Show updates from all sites of a specific network. The network ID is composed similarly to the site ID.
|
||||||
* `--after "[time]"`: Do not fetch scenes older than this. Example values are: `"1 month"`, `"2 weeks"`, `"3 years"`.
|
* `--after "[time]"`: Do not fetch scenes older than this. Example values are: `"1 month"`, `"2 weeks"`, `"3 years"`.
|
||||||
* `--scene [URL]`: Try to retrieve scene details from its official site or network URL.
|
* `--scene [URL]`: Try to retrieve scene details from its official site or network URL.
|
||||||
|
@ -28,7 +26,7 @@ Do not modify `config/default.js`, but instead create a copy at `config/local.js
|
||||||
* `--debug`: Show full error stack trace.
|
* `--debug`: Show full error stack trace.
|
||||||
|
|
||||||
## Supported networks & sites
|
## Supported networks & sites
|
||||||
233 sites on 14 networks
|
233 sites on 14 networks, continuously expanding!
|
||||||
* **21Sextury**
|
* **21Sextury**
|
||||||
* Anal Teen Angels
|
* Anal Teen Angels
|
||||||
* Asshole Fever
|
* Asshole Fever
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
"description": "All the latest porn releases in one place",
|
"description": "All the latest porn releases in one place",
|
||||||
"main": "src/app.js",
|
"main": "src/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"postinstall": "npm run migrate && npm run seed",
|
||||||
"start": "node src/app.js",
|
"start": "node src/app.js",
|
||||||
"eslint": "eslint src/",
|
"eslint": "eslint src/",
|
||||||
"eslint-watch": "esw --watch src/",
|
"eslint-watch": "esw --watch src/",
|
||||||
|
|
Loading…
Reference in New Issue