source: vali-admin dashboard overlaid with the Buffalo logo
In this tutorial, we add vali-admin dashboard template to a Buffalo application.
Buffalo Project Setup Navigate to your $GOPATH
cd $GOPATH/src/github.com/$USER/ Create a new Buffalo project
buffalo new valibuffalo Change the project directory
cd valibuffalo Create database for the project
buffalo db create --env development Do a test run
In this article, we go through the process of deploying a Buffalo application to a DigitalOcean Droplet using Docker images. We will utilize the Docker Compose Tool to manage the containers and Systemd to restart our application in case of failure.
Prerequisites You have developed a Buffalo application. I will be using theToodo example application. You have an account with DigitalOcean, You have created a DigitalOcean Droplet based on CoreOs Container Linux You are able to SSH into your Droplet.