Step 2: Add qaskx

To prime a project with qaskx is a simple process.

qaskx-cli setup prime --parent \tmp\qaskx-cli\tutorial01\news

The comand will prompt you for 3 values:

  1. Environment. Press Enter to accepth the default
  2. Application name. Inpt “my-news” and press Enter
  3. Application version. Press Enter to accepth the default

The details will be saved, and the session will look something like the below.

	      ______           ___           _______. __  ___ ___   ___ 
	     /  __  \         /   \         /       ||  |/  / \  \ /  / 
	    |  |  |  |       /  ^  \       |   (----`|  '  /   \  V  /  
	    |  |  |  |      /  /_\  \       \   \    |    <     >   <   
	    |  `--'  '--.  /  _____  \  .----)   |   |  .  \   /  .  \  
	     \_____\_____\/__/     \__\ |_______/    |__|\__\ /__/ \__\ 
																   															 
	
          qaskx-cli  - command line tool
          version    - 0.0.3
          url        - https://docs.qaskx.one/qaskx-cli/
          copyright  - 2023 qaskx.one

QX>>> 2024/01/20 21:53:30 Using configuration file '\tmp\qaskx-cli\tutorial01\news\.well-known\qaskx-config.yaml'
Environment [production]:  
Application name* []: my-news 
Application version [0.0.1]:  
QX>>> 2024/01/20 21:53:30 Saved configuration file '\tmp\qaskx-cli\tutorial01\news\.well-known\qaskx-config.yaml'

If you look at your directory structure for the created project location you should see:

    Directory: C:\tmp\qaskx-cli\tutorial01\news

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d----          24/03/2024  9:00 PM                .well-known
d----          24/03/2024  9:00 PM                assets
-a---          24/03/2024  9:00 PM             49 .gitattributes
-a---          24/03/2024  9:00 PM              5 .gitignore
-a---          24/03/2024  9:00 PM             55 go.mod
-a---          24/03/2024  9:00 PM           2774 index.html
-a---          24/03/2024  9:00 PM           4033 main.go
-a---          24/03/2024  9:00 PM             17 Procfile
-a---          24/03/2024  9:00 PM            915 README.md

The directory .well-known is new and it contains

And now we can move onto the next Step.

Errors

If the above did produce error messages, you might need to delete the project directory and then issue the same command with the additional argument of “-v” for verbose logging to console.