Improve readme
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Steven Polley 2020-06-20 20:30:09 -06:00
parent 714cae2594
commit 2658b18797
1 changed files with 8 additions and 0 deletions

View File

@ -6,6 +6,8 @@ A simple view counter for a website
### Database initialization
The following SQL will initialize the database for this application. No automigrate / initialization is done upon first running the application, so this must be ran by an administrator.
```sql
SET NAMES utf8;
SET time_zone = '+00:00';
@ -24,8 +26,14 @@ CREATE TABLE `visit` (
```
### Build Container
Disclaimer! If you use this, you'll need to build the container yourself. My registry is used for my internal infrastructure only and is not publicly available.
### Example docker-compose.yml
Create a docker-compose file
```yaml
version: '3.7'