predixdev / local-setup Goto Github PK
View Code? Open in Web Editor NEWContains scripts for installing the tools required for development on the Predix platform
License: Other
Contains scripts for installing the tools required for development on the Predix platform
License: Other
the tap defined in the setup-mac.sh script is outdated.
I had to manually update in the script line 94 to:
brew tap homebrew/cask
The setup script is good, but looks like only for win64.
The reason is that https://github.com/PredixDev/cf-predix/releases/download/1.0.0/predix_win64.exe failed on win32.
Hi,
setup-windows.bat is used in the following command of the tutorial.
When executing the following command, the error "bash: px: command not found" occurred.
Because Predix CLI is not installed in Windows batch file (setup-windows.bat).
Please check "exit / b 0" on line 216 of this file.
@PowerShell -Command "(new-object net.webclient).DownloadFile('https://raw.githubusercontent.com/PredixDev/predix-machine-template-adapter-simulator/master/scripts/quickstart-machine-w-simulator.bat','quickstart-machine-w-simulator.bat')" && "quickstart-machine-w-simulator.bat"
@PowerShell -Command "(new-object net.webclient).DownloadFile('https://raw.githubusercontent.com/richcobrien/local-setup/master/setup-windows.bat','%TEMP%\setup-windows.bat')" && "%TEMP%\setup-windows.bat /git /cf"
My testing, the above fails as the Path is not Found, the below works as expected.
@PowerShell -Command "(new-object net.webclient).DownloadFile('https://raw.githubusercontent.com/richcobrien/local-setup/master/setup-windows.bat','%TEMP%\setup-windows.bat')" && "%TEMP%\setup-windows.bat" /git /cf
Hi,
In setup-windows.bat you're using below code to check internet connection,
ECHO Checking internet connection...
@PowerShell -Command "(new-object net.webclient).DownloadString('http://www.google.com')" >$null 2>&1
However, www.google.com are blocked in China, a better way is to use https://github.com.
Thanks,
Eagle
When setting new windows machine and run run the setup script, getting an error when running npm install.
solution:
npm install --global --production windows-build-tools
i would suggest to add installing windows-build-tools as part of the script.
I believe the VMWare formula name has changed ( from vmware
to vmware-fusion
)
This is part of the output from running bash <( curl https://raw.githubusercontent.com/PredixDev/local-setup/master/setup-mac.sh ) --vmware
Manual execution of the command brew cask install vmware
also fails (brew cask install vmware-fusion
worked though!)
Line 179 in 5230bdc
Im following the tutorial "Edge Starter: Add Predix Machine on an Personal Laptop/DevBox".
I run the command:
@powershell -Command "(new-object net.webclient).DownloadFile('https://raw.githubusercontent.com/PredixDev/predix-machine-template-adapter-simulator/master/scripts/quickstart-machine-w-simulator.bat','quickstart-machine-w-simulator.bat')" && "quickstart-machine-w-simulator.bat"
which sets up UAA, Asset-service, Time-series-service and "hello-world"-app (which by the way doesn't contain any login link as stated in the tutorial, only 2 links).
Anyhow, the command sets all these things up, but it ends with an error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:copy (default-cli) on project winddata-timeseries-service: Unable to find artifact.: Failure to find com.ge.predix.solsvc:winddata-timeseries-service:jar:2.0.35 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
My settings.xml contains:
<server>
<id>predix.repo</id>
<username>[email protected]</username>
<password>**my password**</password>
</server>
Im not behind a proxy.
Ive made sure I can go to artifactory.predix.io, login and can see that .jar and deleting ~/.m2/repository/com/ge/predix/solsvc
and retry.
How can I overcome this issue?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.