kopia lustrzana https://github.com/bugout-dev/moonstream
				
				
				
			Merge pull request #804 from moonstream-to/struct-moonstreamapi
Updated moonstreamapi placementpull/812/head
						commit
						10a3123b30
					
				|  | @ -15,7 +15,6 @@ PREFIX_CRIT="${C_RED}[CRIT]${C_RESET} [$(date +%d-%m\ %T)]" | |||
| 
 | ||||
| # Main | ||||
| APP_DIR="${APP_DIR:-/home/ubuntu/moonstream}" | ||||
| APP_BACKEND_DIR="${APP_DIR}/backend" | ||||
| AWS_DEFAULT_REGION="${AWS_DEFAULT_REGION:-us-east-1}" | ||||
| PYTHON_ENV_DIR="${PYTHON_ENV_DIR:-/home/ubuntu/moonstream-env}" | ||||
| PYTHON="${PYTHON_ENV_DIR}/bin/python" | ||||
|  | @ -37,7 +36,7 @@ echo -e "${PREFIX_INFO} Upgrading Python pip and setuptools" | |||
| echo | ||||
| echo | ||||
| echo -e "${PREFIX_INFO} Installing Python dependencies" | ||||
| "${PIP}" install -e "${APP_BACKEND_DIR}/" | ||||
| "${PIP}" install -e "${APP_DIR}/moonstreamapi/" | ||||
| 
 | ||||
| echo | ||||
| echo | ||||
|  | @ -5,7 +5,7 @@ StartLimitIntervalSec=300 | |||
| StartLimitBurst=3 | ||||
| 
 | ||||
| [Service] | ||||
| WorkingDirectory=/home/ubuntu/moonstream/backend | ||||
| WorkingDirectory=/home/ubuntu/moonstream/moonstreamapi | ||||
| EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env | ||||
| Restart=on-failure | ||||
| RestartSec=15s | ||||
		Ładowanie…
	
		Reference in New Issue
	
	 Sergei Sumarokov
						Sergei Sumarokov