aksell-cli
v2.9.5
Published
A command line tool for Aksell organization
Downloads
9
Readme
A Command Line Tool for Aksell organization
Dependencies
- Node
- Github CLI
- Being logged in to Git via terminal
- access to https://github.com/aksellsor
Commands
yml [options] Create a Github workflow with React build and FTP output
help [command] display help for command
YML Arguments:
-o --output <output> Specify a output folder (e.g. ./react-project)
-s --server <server> Specify a server (e.g. 215/213)
-sd --serverDir <server> Specify a directory on the server (e.g. 358109)
-h, --help display help for command
CRA Arguments:
-n --name <output> Specify a project name (e.g. nav-kalkulator)
-h, --help display help for command
UMB Arguments:
-n --name <output> Specify a project name (e.g. nav-kalkulator)
-h, --help display help for command
GH Arguments:
-n --name <output> Specify a repo name (e.g. aks_cra_nav-kalkulator)
-h, --help display help for command
UMB post-install setup
On install the umbraco instance runs automagically.
To start the project from CLI:
- cd into project folder
- run the command "dotnet run"
The terminal output will tell you the URL to access the site.
Some extra setup is required to get up and running with the UMB template
- Install Umbraco backoffice and set up database
- In backoffice settings => Document types: Import "01_SEO.udt" and "02_Website.udt" document types (NB the order of import matters! Import SEO first and then Website) These files are found in the "ASSETS" folder in the umbraco project folder
- In backoffice settings => Templates: Create a template called "Website". The content of this template should be auto generated based on the Website document type.
- In backoffice settings => Document types: Select the Website template and set it as default
- In backoffice content: Create a Root site and select Website as template
- Save and publish the root site and you should be good to go
Next step is probably to add the project to git