mirror of
				https://github.com/simon987/task_tracker.git
				synced 2025-10-31 16:06:53 +00:00 
			
		
		
		
	readme-draft
wip
This commit is contained in:
		
							parent
							
								
									4853710f74
								
							
						
					
					
						commit
						dfeddce2e9
					
				
							
								
								
									
										32
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										32
									
								
								README.md
									
									
									
									
									
								
							| @ -3,6 +3,38 @@ | |||||||
| [](https://www.codefactor.io/repository/github/simon987/task_tracker) | [](https://www.codefactor.io/repository/github/simon987/task_tracker) | ||||||
| [](https://ci.simon987.net/job/task_tracker/) | [](https://ci.simon987.net/job/task_tracker/) | ||||||
| 
 | 
 | ||||||
|  | Fast task tracker with authentication, statistics and web frontend | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | ### Postgres setup | ||||||
|  | ```bash | ||||||
|  | sudo su postgres | ||||||
|  | createuser task_tracker | ||||||
|  | createdb task_tracker | ||||||
|  | psql task_tracker | ||||||
|  | >  | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | ### Nginx Setup | ||||||
|  | 
 | ||||||
|  | ```nginx | ||||||
|  | index index.html; | ||||||
|  | 
 | ||||||
|  | root /path/to/webroot; | ||||||
|  | 
 | ||||||
|  | location / { | ||||||
|  |         try_files $uri $uri/ /index.html; | ||||||
|  | } | ||||||
|  | location ~ /api(.*)$ { | ||||||
|  |         proxy_http_version 1.1; | ||||||
|  |         proxy_set_header Upgrade $http_upgrade; | ||||||
|  |         proxy_set_header Connection 'upgrade'; | ||||||
|  |         proxy_set_header Host $host; | ||||||
|  |         proxy_pass http://127.0.0.1:3010$1?$args; # Change host/port if necessary | ||||||
|  | } | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
| ### Running tests | ### Running tests | ||||||
| ```bash | ```bash | ||||||
| cd test/ | cd test/ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user