In MicroGO, I take some of the most valuable features in Django and implement similar functionality in Go.
Since Go is compiled and type-safe, web applications written in this language are typically much faster and far less error-prone than an equivalent application, Django, written in Python.
make sure you have the following dependencies:
- make - utility for building and maintaining groups of programs.
- GoLang - the compiler that MicroGO uses.
- Download or clone MicroGO repository from GitHub
- Run make build command in the root directory of MicroGO.
Currently, the auto install script is only available for Linux OS fo other OS, you can manually install MicroGO binaries. See section How to use MicroGO for more information.:
- Download the binaries from GitHub Releases
- Or run the following command:
curl -L https://raw.githubusercontent.com/cploutarchou/MicroGO/master/install.sh | bash
- help - Show the help commands
- version - Print application version
- make auth - Create and runs migrations for auth tables, create models and middleware.
- migrate - Runs all up migrations that have not been run previously
- migrate down - Reverses the most recent migration
- migrate reset - Runs all down migrations in reverse order, and then all up migrations
- make migration migration_name - Create two new up and down migrations in the migrations folder
- make handler handler_name - Create a stub handler on handlers directory
- make model model_name - Create a new mode in the models directory
- make key - Create a random key of 32 characters.
- make mail - Create two starter mail templates in the mail directory.