i have installed Neo4j community edition. The Neo4j documentation said, that all jar files exist in the lib folder. The problem is that no lib folder exist. Is it possible to download the jar from another source?
Thanks
What OS did you install under? Do you have a lib directory within the main Neo4j directory? Under my dev sandbox on Windows I have 20 jars in a standard install in the lib directory.
If you are using Windows, there is the installer-based distribution and the zipped no-installer version. I like the no-installer version which is easier to set up as a Windows service which can be more easily controlled/communicated with via command-line etc.
Related
I am seeking advice on how to proper configure a multi project solution in relation to third party c++ libraries added with vcpkg.
How do you checkout a specific version of a library for a project?
How do you configure Visual Studio 2019 to use this version for debug and release (lib, dll, headers)?
How do I share the configuration with other developers and build servers?
Here is how I did it:
fork vcpkg repo to local repository (TFS Git in my case)
make a project-specific branch (project being internal company project, not Visual Studio project)
pile on my own port modifications
add few scripts that build a package containing only libraries aforementioned project needs (nuget on windows, 7zip for Linux), see vcpkg export command
label with package version (e.g. 1.0.0.2)
build and deploy to a share (that is properly backed up)
configure some IIS instance in company network to serve packages from aforementioned share
in Visual Studio related projects refer to nuget package
on Linux related cmake script pulls correct version of package using http GET, unpacks it and imports vcpkg cmake file
every time a change needs to be made to the package:
modify your vcpkg branch, label with next version and push
build new package version (filename should contain version)
deploy package to that share
update your cmake files and/or nuget config files
I also tried to export only 1 library (cpprestsdk) but instead vcpkg just exported everything it had installed! Can't it just export the dependent libs only?
vcpkg export cpprestsdk:x64-windows --zip
I am trying to move from Bower to NPM.
While I was using Bower, it was easy to configure the .bowerrc file and have the downloaded libraries in a directory such as wwwroot/lib
Now, I am developing a ASP.Net Core MVC app and trying to use NPM as my default package manager. By using Command Line in Visual Studio 2017, NPM creates package.json file and download libraries to node_modules folder. Then, what is next? How can I get JS or CSS files like I used to have in wwwroot/lib director?
Ok, so heres' the thing.
NPM: Node JS package manager, helps you to manage all the libraries your software relays on. You would define your needs in a file called package.json and run npm install in the command line... BANG your packages are downloaded and are ready to use. Could be used both for front-end and back-end.
resource: https://www.quora.com/What-are-the-differences-between-NPM-Bower-Grunt-Gulp-Webpack-Browserify-Slush-Yeoman-and-Express
Now, here's where NPM stops and his dear friend Gulp takes over. I can't type all of it, but to have your css and js files in a folder (and do whatever you want with them) you'll have to use an automation tool (I personally use Gulp but there's a bunch of them out there).
It's easy to set up and the documentation is here:
https://gulpjs.com/
Gulp will basically be responsible of how and where your css files get compiled. It will base its requests for packages in the node_modules folder. So you're good to go. Configure gulp and you should be on your way.
There's also webpack. Never used it, but it seems to be the future of automation:
https://webpack.js.org/
I'd suggest using webpack.
I am using macOS Sierra 10.12.5, and I installed Neo4j using neo4j-community_macos_3_2_1.dmg. I chose the location of database as ~/Documents/default.graphdb when I was prompted, and Neo4j works fine at http://127.0.0.1:7474/browser/. However, I am not able to locate the .bin file that is usually located in the untarred installation folder if I downloaded Neo4j as a Unix console application tar.gz file. Where is the .bin file in this case?
It's in the application package itself, an app in OS X is actually a package structure you can explore.
Right-click on the app, choose Show Package Contents, and check the folder contents. It's under Contents/Resources/app/bin.
Is there a standard or recommended installation directory for the Dart language? If so, I would like to know what it is for both Windows and Mac. I searched online on dartlang.org, Google, and StackOverflow. For Mac specifically, I have seen many programming languages installed under /Library.
I believe the standard workspace for Dart projects is ~/dart. When you download the Dart language, you are given a /dart folder containing the Editor, SDK, Chromium with Dart VM installed, and some extras. I am wondering what the standard location for this folder is. Thank you in advance!
The standard workspace directory for Dart projects is like you wrote ~/dart in Linux (don't know about other OS).
The standard installation directory is depending on conventions of your OS than the Dart language.
You should have an environment variable DART_SDK pointing to the dart-sdk subdirectory of the installation directory and include the DART_SDK/bin in your path.
On MAC, just drop the directory on App directory, then in terminal you put : "export PATH=$PATH:/Applications/dart/dart-sdk/bin"
I have a rails 3 application that I'd like to deploy. My deployment environment does not have build tools installed and cannot then install dependencies with native extensions.
I have a build host configured with build tools that can build the native extensions.
How can I deploy the native extensions from my build host ?
I have tried doing bundle package on the build host and bundle install --local on the remote host. It correctly installs gems without native extensions but it still tries to build native extensions on the production host.
It is bad practice to build on your production servers.
When I deploy Django or Rails I always build a toolchain for whatever the OS package management system doesn't cover. I then develop and deploy with that toolchain. This assures everyone uses the same versions of the tools.
To create the toolchain you need to install the packages and supporting executables in that directory. You also need to make sure that they are relocatable.
For example I currently use Django on RedHat. RedHat doesn't use the latest version of python, and many of the python libs I use rev more often than the repository maintainers pick them up. As a result there are often no RPMs for the latest software. I create a toolchain directory, compiled python on all the libs I needed into that directory. I then bundle it up into an RPM for deployment.
toolchain/
bin/
python
...
lib/
python2.7/
...
site-packages/
...
include/
...
I've ended up to a custom deploy.rb. Hoping I will be able to relase it as a gem that extends Capistrano (still not totally happy with it though)