An open API service indexing awesome lists of open source software.

https://github.com/krisnova/stateful-app

A great stateful application
https://github.com/krisnova/stateful-app

Last synced: about 1 year ago
JSON representation

A great stateful application

Awesome Lists containing this project

README

          

# Welcome to the Kris Nova Stateful Application!

### Deploying the application:

```bash
kubectl create -f manifests/
```

### Delete the application

```bash
kubectl delete -f manifests
```

### Update docker registry with a new build

```bash
make container push
```

### Get the public address

```bash
k get svc -owide | grep statefulapp-service | cut -d " " -f 16
```

### Create database in server

```bash
k exec -it $(k get po | grep postgres | cut -d " " -f 1) -- bash -c "psql -c 'CREATE DATABASE stateful_app_development;' -U postgres"
```