Developer setup
Pre-requisites
To start developing with JetQuery, it is recommended to have the following tools installed:
- Google Chrome
- Vue devtools (v5) - Required legacy version
- Vue force dev
- GIT: https://git-scm.com/
- Visual Studio Code: https://code.visualstudio.com/ plugins:
- Live Server (for live preview)
- Format Selection as HTML - format html code in inline template
- Highlight Matching Tag (highlight matching tag in HTML)
- Vue Inline Template or Template Literals (for vs online)
- HTML-CSS-Class-Completion
- REST Client (for API testing)
- SQLTools (Vs Code > Command palette >
SQLTools: Format SQL
) - XML Language Support by Red Hat (collapse XML elements)
- CDATA SQL Highlighter (Format sql code in xml tags)
- DRAW.IO
- Markdownlint
- vscode-icons-team.vscode-icons
- adamraichu.pdf-viewer
- adamraichu.docx-viewer
- grapecity.gc-excelviewer
or extensions.json file
Automation for local development
It's recommended to use the jq-cli
script to automate the local development process.
You can also generate the index.html
file, using the following script:
Bash | |
---|---|
This script will generate an index.html file with all required files, both local and remote.
If files are duplicated in the local and remote locations, the following algorithm is applied:
- Verify if the file \css\site.css exists in the local development folder.
- Verify if the file \css\site.css exists on the server.
- If it exists, verify if the minified version \css\site.min.css is available.
- Verify if the file \css\site.css exists in the application marked as UI.
- If it exists, check if the minified version
\css\site.min.css
is available.
- If it exists, check if the minified version