"bower install breeze" for MEAN stack - breeze

I am developing a sample app using MEAN stack and tried to install BreezeJS via bower. But it downloads whole bunch of .NET related stuff. I read from the BreezeJS documentation, that it can be used in Non-MS backends.
Any hints on how can I use bower to install breezeJS or do I have to download files manually.

Update 26 May 2014
There is now an official breezejs bower package for client assets. Install from a terminal/command window with
bower install breezejs
Case matters! Be sure to spell "breezejs" in all lowercase.
This package contains the core JavaScript distribution files PLUS
adapters - the officially supported breeze adapters in the core, including the mongo client adapter
labs - the currently "approved" breeze.labs
HTH
p.s.: You still use nmp to install the breeze-mongodb module on your node server.
Original
Feel your pain. It's helpful to our priority setting to know that this matters to you.
We are in the midst of doing two things about this.
refactoring the github repository into multiple repos to be more sensitive to technology preferences.
working with the current keepers of the Breeze bower repos to refactor accordingly; actually, they have offered to let us take over ... and we will; we just need a little more time.
Until then, I'm afraid you'll have to grab the JavaScript files from github yourself. Fortunately there are not many of them.
Breeze client JavaScript files are in the build folder of the breeze.js repo.
Breeze Labs for JS clients are in the breeze.js.labs repo.
The breeze-mongodb module for your node server you can install with npm.

Related

What is the difference between a package and container?

GitHub recently released a container registry alongside their package registry. What is the difference? When would it be better to use one or the other? Do we need both?
Packages are generally simple: they are essentially an archive (i.e. zip file) that contains contents (code libraries, application executables, etc.) and a manifest file (json document, xml file, etc) that describes those contents with a package name and version number (at a minimum).
ie:- npm,pip and composer packages.
Container images are also simple, but they're more like an archive (i.e. a zip file) than a package.
ie:- nginx, redis etc
Verdict:- if some libs repetitively used in any project then we can create package and use in project .while for all project based dependencies we need to choose container to run this. Yes we need both.
After debating this with a Docker-using friend for a while I think I've found a satisfactory explanation:
Packages are for modules of code which are compiled together into an
Application.
Containers are for Applications which are compiled together into a
Server.
This is a bit confused by the fact that a Package can contain a standalone Applications, and Containers will often use package managers like Apt to install these applications. I feel like this is an abuse of package management due to a legacy where we didn't have Containers. Eventually I would expect most Applications will be delivered in Container form.

Is it possible to run a private Hex (Erlang) dependency manager (and if so how)?

I'm working in an Erlang environment. I'm looking to establish a dependency manager so that our build server can publish binaries for reuse instead of using source code dependencies. The Hexpm GitHub project implies that it is possible to run it outside of the hex.pm website, but I don't see any instructions for doing so. Specifically, I would like my build server to be able to publish packages either directly (via the filesystem) or via rebar3, and for subsequent rebar3 builds to be able to use those published packages
Is it possible to run Hex on my own server?
If so, where would I find some documentation on how to set it up (or provide the instructions directly)?
If you look at https://github.com/hexpm/hex_web there are instructions in the README.md for both installing and running it. It's a phoenix application, so it should all be relatively familiar ground if you've looked at the phoenix framework before.
As for getting rebar3 to work with your installation, there is documentation here as to the config values to use for setting the URLs to use for hex packages: http://www.rebar3.org/docs/hex-package-management.
HTH.

What is the difference between Pyrus and Composer?

I'm new to Zend Framework 2.0, after reading the documentation I know that we can install Zend via some package managers as Pyrus, Composer. But I don't know which package manager should I choose? Please explain to me some differences between them, thank you for help!
Pyrus is basically PEAR2, and needs the end developer of a package to configure a pyrus distribution channel to make packages public.
Composer is backed by the main packagist.org repository, with the availability of own channels through satis if necessary.
Pyrus is mantained, but has not much activity on its main repository, composer is much more active.
Composer is the most used package manager for PHP currently available. Most ZF2 modules currently support it and don't support Pyrus, so I strongly suggest you to get used to it.
Related: ZF2 + doctrine without composer (an example of how this tool is becoming necessary).
In addition to Ocramius' explanation:
Pyrus is not PEAR2. Pyrus is a standalone tool that can install packages from any PEAR-compatible channel, including pear.php.net and pear2.php.net.
Pyrus is able to install and compile PECL packages (PHP extensions).
Publishing a package yourself is easier with composer. You only need one single file in your git repository; Composer can install directly from there. Pyrus on the other hand needs a bunch of XML files you can't hand-generate - so you have to use a channel server software like Pirum.

How to install Collabnet SubVersion?

There is any documentation on how to install and setup and SubVersion server? And use it with Delphi XE over a network.
To say otherwise: I have installed Delphi XE, Subversion Client and Server. Now what? I don't understand how they work.
I suggest installing VisualSVN Server, which is a complete installation of the latest Subversion server plus Apache, with a nice control panel to configure stuff. It integrates with Windows authentication, or you can have it use Subversion authentication. It's fantastic.
http://www.visualsvn.com/server/
You only need to install a Subversion server if you need networked access to the repository. If you only need local access, you can use a local repository. You can create it using a subversion client, like TortoiseSVN, and it is accessed using the file:/// protocol.
Delphi XE has an integrated SVN client, so it's not mandatory to install an external Subversion client, though it's really helpful as are many tasks that can't be made with the integrated client. TortoiseSVN is superb and integrates seamlessly with Windows explorer.
Thanks Chris. I will take a look because this CollabNet package is a nightmare. So, I install Visual SVN as server and Colabnet Client as client?
You can use almost any subversion client with almost any subversion server. Subversion has a well defined API that both clients and servers can follow. The only problem is that some clients are incompatible with each other. For example, VisualStudio's AnkhSVN client can create _svn directories instead of .svn which can make it incompatible with the standard command line client.
If you don't mind using svnserve as the server, you can download the SlikSVN. The svnserve server is fairly straight forward and quick to setup and install. It isn't as flexible as the Apache server (which can have more than one repository served under the same httpd instant) but it's nice to use for your own personal self or for a small group.
I looked at the licensing of VisualSVN, and it looks like its zero cost as long as you don't need the advanced features.

Deploying a Rails app offline and with all dependencies intact

My goal is to deploy an existing Rails app on a machine. Oh, and the machine is on a handful of terminals in a remote community in the north of Australia. Oh, and I can't rely on there being Internet access for troubleshooting or admin purposes.
I'd like to package the app with a fresh copy of Rails and all of the apps dependencies (some of which must be built natively) so that the server can be run and a browser used as the front-end. The remote machines are modern Macs, and I should be able to replicate the configuration for testing here.
I've spotted some projects like Locomotive and Joyent Slingshot, as mentioned in this thread, but both of those projects seem to have been abandoned, and this link is Windows-specific.
Does anyone have any guidance as to what the modern way of doing this is? A community project thanks you in advance :)
Well, assuming those remove machines have Ruby available, you could use Bundler to freeze all your gems in your project:
bundle package
Read more at getbundler.com

Resources