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. | ||||
| 
 | ||||
| ## 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 run seed` | ||||
| 
 | ||||
| `npm start` | ||||
| 
 | ||||
| ### Configuration | ||||
|  | @ -16,7 +14,7 @@ Do not modify `config/default.js`, but instead create a copy at `config/local.js | |||
| ### Options | ||||
| `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. | ||||
| * `--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. | ||||
|  | @ -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. | ||||
| 
 | ||||
| ## Supported networks & sites | ||||
| 233 sites on 14 networks | ||||
| 233 sites on 14 networks, continuously expanding! | ||||
| * **21Sextury** | ||||
|     * Anal Teen Angels | ||||
|     * Asshole Fever | ||||
|  |  | |||
|  | @ -4,6 +4,7 @@ | |||
|     "description": "All the latest porn releases in one place", | ||||
|     "main": "src/app.js", | ||||
|     "scripts": { | ||||
|         "postinstall": "npm run migrate && npm run seed", | ||||
|         "start": "node src/app.js", | ||||
|         "eslint": "eslint src/", | ||||
|         "eslint-watch": "esw --watch src/", | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue