Skip to content

Commit

Permalink
create .apibuild .apicra .apiexec .apitee
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-sapletta-com committed Jun 5, 2021
1 parent e011989 commit db00ca4
Show file tree
Hide file tree
Showing 31 changed files with 73 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions browser.sh → .apicra/browser
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
set URL=http://localhost:3001
::set BROWSER=chrome
set BROWSER=firefox
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions .apicra/promagen
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
curl https://php.apifunc.com/apifunc.php --output apifunc.php
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions .apitee/install
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
echo "I will install Node environment"
apt-get autoremove -y
apt-get update -y
apt-get install nodejs npm -y
#curl -sL https://deb.nodesource.com/setup_12.x | sudo bash -
#apt install nodejs
35 changes: 35 additions & 0 deletions .apitee/install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
@echo off
:: silent install nodejs on windows console
:: https://www.ibm.com/support/knowledgecenter/SSZUMP_7.2.1/install_grid_sym/install_silent.html
echo I will install NODE, NPM on Windows system, if is existing i will stop this script

WHERE node
IF %ERRORLEVEL% EQU 0 (
echo NODE JS is installed, the installation is stopped!
exit
)

NET SESSION >nul 2>&1
IF %ERRORLEVEL% NEQ 0 (
echo This setup needs admin permissions. Please run this file as admin.
pause
exit
)

setlocal

set NODEJS_VERSION=v12.16.3
set NODEJS_FILENAME=node-%NODEJS_VERSION%-x64.msi
set NODEJS_URL=https://nodejs.org/dist/%NODEJS_VERSION%/%NODEJS_FILENAME%
::set NODEJS_DOWNLOAD_LOCATION=.\
set NODEJS_LOG=node-log.txt
set INSTALLDIR=C:\nodejs\

@echo on

msiexec.exe /i %NODEJS_FILENAME% INSTALLDIR=%INSTALLDIR% /qn /L*v %NODEJS_LOG%

echo program: %NODEJS_FILENAME% is installed!

endlocal
dir
7 changes: 7 additions & 0 deletions .apitee/status
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
echo "status of node:"
nodejs -v
#nodejs --version
npm -v
node --version
which node
4 changes: 4 additions & 0 deletions .apitee/status.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@ECHO OFF
node -v
nodejs -v
which node
10 changes: 10 additions & 0 deletions .apitee/update
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
echo "I will update nodejs environment"
#npm install -g npm
#!/bin/bash
echo "I will update the nodejs application ..."
npm --version
npm i npm@latest -g
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
3 changes: 3 additions & 0 deletions .apitee/update.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
echo "I will update nodejs environment"
npm install -g npm
2 changes: 2 additions & 0 deletions .apitee/upgrade
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
npm install -g npm
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@

package-lock.json
# Logs
logs
*.log
Expand Down

0 comments on commit db00ca4

Please sign in to comment.