Go Apps - todoList
Understanding Configuration and Deployments of Go Applications
To begin with we are using TodoList App
- Ensure that you clone the git repo on the local machine
Git clone
https://github.com/nifetency/go-todo.git
-
Login to nifectl using nifectl auth command
-
Configure a new application using nifectl init
run command
nifectl init
App Name (leave blank to use an auto-generated name): gogeo
Select Organization:"NiFE-APPS"
> NIFE-APPS (nife-apps)
Select Builder: "go"
None
(Do not set a builder)
Image
(Use a public Docker image)
deno
Deno builtin
>go
Go Builtin
hugo-static
Hugo static build with web server builtin
node
Nodejs builtin
python
Python builtin
ruby
Ruby builtin
Select Internal Port: 4040
Select External Port: 4040
- Now, just deploy the application using nifectl deploy
Once the deployment starts, you will see a list of commands building the docker container and then this will deploy to a location
- Access the deployed application using the URL created, in this case
http://gogeo.apps.nifetency.com:4040
- Extend to other regions
Use nifectl regions to add new regions
nifectl regions add EUR