forked from coolaj86/goldilocks.js
		
	ready for npm
This commit is contained in:
		
							parent
							
								
									ee087c3231
								
							
						
					
					
						commit
						98f710dcfe
					
				
							
								
								
									
										18
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								README.md
									
									
									
									
									
								
							@ -1,2 +1,20 @@
 | 
			
		||||
# localhost.daplie.com-server
 | 
			
		||||
Serves HTTPS using TLS (SSL) certs for localhost.daplie.com - great for testing and development.
 | 
			
		||||
 | 
			
		||||
Install
 | 
			
		||||
-------
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
npm install --global serve-https
 | 
			
		||||
serve-https
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
Serving /Users/foo/ at https://localhost.daplie.com:1443
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Usage
 | 
			
		||||
-----
 | 
			
		||||
 | 
			
		||||
* `-p <port>` - i.e. `sudo serve-https -p 443`
 | 
			
		||||
* `-d <dirpath>` - i.e. `serve-https -d /tmp/`
 | 
			
		||||
 | 
			
		||||
@ -6,6 +6,9 @@
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "test": "node serve.js -p 1443 -d /tmp/"
 | 
			
		||||
  },
 | 
			
		||||
  "bin": {
 | 
			
		||||
    "serve-https": "serve.js"
 | 
			
		||||
  },
 | 
			
		||||
  "repository": {
 | 
			
		||||
    "type": "git",
 | 
			
		||||
    "url": "git+https://github.com/Daplie/localhost.daplie.com-server.git"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user