scripts for one project in one folder
https://github.com/promagen/one.git
git clone https://github.com/promagen/one.git one
Main Website Documentation https://docs.promagen.com/
Blog: News, Updates https://blog.promagen.com/
- git, https://gitforwindows.org/
- nodejs
https://github.com/apicra/win-node
https://github.com/apicra/debian-node
sh .apitee/install
sh .apitee/status
sh .apitee/update
sh .apibuild/install
sh .apitee/start
sh .apicra/start
sh .apicra/browser
download using git command
git clone https://github.com/promagen/windows.git promagen-win
cd promagen-win
download.bat
install.bat
restart.bat
start browser on http://localhost:3001/
doc.bat
info.bat
update.bat
- wspiera budowanie aplikacji i kontrole środowiska od strony tworzenia procesów
-
Dane, baza danych
- migracja danych
- aktualizacja
- restowanie
- zamian haseł użytkowników
-
Software Development, aplikacja z projektu
- aktualizacja bibliotek
- git: github
- packages: composer, npmjs
-
Marketing, publikowanie informacji o zmianach, aktualizacjach
- blogi: wordpress
- social media: twotter
- ...
-
W przypaku uzycia wersji standalone
[platform]-[interface]-[language]
-
platform:
- server
- client
- standalone
- independent, without network connection, offline version
-
os:
- (all)
- win
- linux
- ios
- android
-
interface:
- restapi
- gui
-
language:
- nodejs
- python
- go
copy the executable file from /bin folder to another, your project folder and execute
/bin/app
copy the executable file from /bin folder to another, your project folder and execute
/bin/app.exe
Install on linux
sudo apt install npm
Install on windows
npm install
Node on linux
sudo npm install -g npm
Start
node promagen.js
var child = require('child_process').execFile;
var executablePath = "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe";
var parameters = ["--incognito"];
child(executablePath, parameters, function(err, data) {
console.log(err)
console.log(data.toString());
});
run in powershell
npm install --global windows-build-tools
https://nodejs.org/api/child_process.html
-
desktop: local with nexe and electron window
- express
- electron
- nexe / ...
-
server: only express service, works on external domain
- express
- node js service
-
desktop:
- JVM
-
server:
- .jar service on tomcat
-
mobile: server + optimisation for mobile devices
- express
- nexe
- https://github.com/Urucas/slideout
https://www.phoronix.com/scan.php?page=news_item&px=HTML5-Golang-Desktop-Apps The Electron software framework that allows creating desktop GUI application interfaces using JavaScript and relies upon a bundled Chromium+Node.js run-time is notorious among most Linux desktop users for being resource heavy, not integrating well with most desktops, and generally being despised. For those that are fond of using web standards for creating desktop GUIs, now there is a way to create desktop application front-ends using HTML5 and Golang but with less baggage.
https://archive.fosdem.org/2019/schedule/event/godesktopapps/attachments/slides/2994/export/events/attachments/godesktopapps/slides/2994/slides.pdf https://ftp.fau.de/fosdem/2019/UD2.120/godesktopapps.webm
https://github.com/zserge/lorca https://github.com/zserge/webview
Lorca
- Chrome DevTools Protocol
- Bind Go functions to JS
- Call JS from Go
- Control native window
github.com/zserge/webview Webview is now being rewritten from scratch, with the support of EdgeHTML
https://xpda.net/ Cross-Platform Desktop Apps (XPDA) Write Once Run Anywhere (WORA) development for desktop operating systems.
https://morioh.com/p/ba5c0f01e4ef
Code: https://github.com/bradtraversy/node_push_notifications
Webpush Repo: https://github.com/web-push-libs/web-push
for example:
.apicra\-project-create.bat "tom-sapletta-com" "apicra/win-python"