Comments (10)
Finally figured out how to compile the exe files myself.
For anyone out there with a similar need, here's the exhaustive steps I took (in WSL ubuntu 20.04):
sudo apt-get install nodejs npm
sudo npm install -g pkg
git clone https://github.com/Azure/Azurite.git ~/Azurite
cd ~/Azurite
npm install
pkg -t node16-win --output blob -c package.json dist/src/blob/main.js
pkg -t node16-win --output queue -c package.json dist/src/queue/main.js
(took me a long time to figure out that I'm not supposed to pass main.ts directly into pkg)
from azurite.
Hi @maf1024 are you saying you would like to have Azurite releases available as self-contained binaries as well?
from azurite.
@arafato Yes.
from azurite.
This should not be hard, as we can use pkg for this, in the same way that we make the nuget package.
We could maybe offer the binaries for download.
@seguler what do you think?
from azurite.
You could also create a Chocolatey package including those 3 exe's
from azurite.
@XiaoningLiu I have tested this with v3 and the pkg tool and node12 and it generates a functional exe. Would you like me to PR? I will also contribute a scoop manifest and a chocolatey update if you can provide info on how you publish to chocolatey (it does'nt appear to be in the azure pipelines yaml)
from azurite.
@JustinGrote Even if not a PR, if you could update a fork with your tested changes, that would probably be appreciated by my team and myself (with our inexperience in node) so we can try to make our own executables.
(We've been simply relying on the ancient nuget Azurite for a long time, but we recently discovered that we apparently can't use it with the newer Azure.Storage.Blobs V12 dotnet core library)
from azurite.
Thanks for the effort you put into this!
We are finding that more people are using the docker containers.
@XiaoningLiu @blueww @vinjiang - Do we want to add this to the documentation, or do we have other plans for Windows exes?
from azurite.
I personally have mostly switch to just using the vscode extension and that's good enough for me.
from azurite.
Even though exe distributions don't seem to be directly part of Azurite releases yet, it looks like at least VS2022 finally includes this (and is now up to date).
For those interested: The executable's location is [VS 2022 dir]\Common7\IDE\Extensions\Microsoft\Azure Storage Emulator\azurite.exe
(Note it runs Blob, Queue, and Table emulation all as one process)
from azurite.
Related Issues (20)
- Update mysql2 version HOT 5
- Metadata Vanishing HOT 12
- UserDelegationKey fails with 500 HOT 2
- Azurite HTTP Interface Impossible to Use from the Command Line. HOT 1
- BeginCopyAsync is throwing wrong exception when source blob is not found. HOT 1
- Upload from URL not working with a SAS URL HOT 1
- Not being able to launch Azurite from DockerHub. HOT 4
- The value for one of the HTTP headers is not in the correct format HOT 2
- Please Document Azurite Logging in VS CODE - not obvious how to see logs HOT 1
- Cannot add --skipApiVersionCheck when using testcontainers HOT 2
- Docker container is not up-to-date HOT 2
- Azurite returns 500 for all PUT requests after an unexpected client restart HOT 6
- Docker image won't stop restarting HOT 4
- Port specification not working (docker, --blobPort) HOT 1
- Block blob StageBlockWithURL isn't implemented HOT 6
- Azurite will deprecate supporting Node.js 14 in a future release.
- Azurite not recognizing accounts other than default even though prerequisites are met. HOT 2
- Azure Shared Access Signature - Signature did not match using ingress nginx HOT 3
- `Access-Control-Allow-Origin` header not set in Azurite response
- Aspire default table HealthCheck fails with 400 bad request
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azurite.