diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b6a050..72dddf7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ # Version 0.1 (2020-03-16) Initial release + +# Version 1.0 (2020-03-20) + +Wiki web application models built using Go diff --git a/README.md b/README.md index 3f5addf..834547a 100644 --- a/README.md +++ b/README.md @@ -32,12 +32,34 @@ go run main.go ## Deployment -Add additional notes about how to deploy this on a live system +An example app is deployed on [Heroku](https://www.heroku.com/). + +Follow these steps to deploy. Compile the application: + +```bash +go build -o bin/go-wiki +``` + +Make sure that any unused modules have been removed from your application and is resistant to erosion: + +```bash +go mod tidy +go mod vendor +``` + +You will need an `.env` file such as: + +```env +PORT=8080 +TMPLDIR=views/templates/ +DATABASE_URL=postgres://oshiervtwfrqrr:f177bc7ff355c142931aeb3f3 +``` ## Built With - [Go](https://golang.org/) - Build simple, reliable, and efficient software - [Bootstrap](https://getbootstrap.com/) - The most popular HTML, CSS, and JS library in the world +- [PostgreSQL](https://www.postgresql.org/) - The world's most advanced open source database ## Contributing @@ -60,6 +82,7 @@ This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md ## Acknowledgments -- Hat tip to anyone whose code was used -- Inspiration -- etc +For inspiration: + +- [Go MVC](https://www.calhoun.io/) +- [Alex Edwards](https://www.alexedwards.net/blog/organising-database-access)