Install project from github - github

I need to install this project/code as its required for a project I am working on.
Is the easiest way to just grab whats in the Dist folder and copy it into the project?
Do all projects have npm install commands? in the documentation this one doesn't appear to have any explanation for installing it?

See this page for npm:
https://facebook.github.io/react/docs/package-management.html
I guess only if a project is shared on npm, you can use npm commands.

For this particular project, you can use npm, as you can see by searching for the project on npmjs.com.
npm install --save react-modal will install the package in your project.
In general, however, yes, if a project doesn't have installation instructions and it isn't on npm, then you will have to download the code from github.

Found the answer and have been installing npm packages for fun every since ;) I followed this tutorial Node.js and npm into for VS2015
I found editing the packages.json file first fixed it for me. Cause after doing so then running the commands it installed perfectly fine. Thanks for the answers guys, did help me find the issue and the eventual solution.

Related

Looking for eclipse plugin "cppcheclipse"

I've been desperately looking for a download of the eclipse plugin cppcheclipse v1.0. Sadly the repo at http://cppcheclipse.eclipselabs.org.codespot.com/svn/update has been down for at least a week now...
Could someone help me out?
Thanks
I got it to work by downloading v0.9.9 from the old website and doing a manual install:
https://code.google.com/archive/a/eclipselabs.org/p/cppcheclipse/downloads
How to do a manual install:
How to install plugin for Eclipse from .zip
Eclipse -- Manually Install Plugin

Need help for install plugins in mantis

I am newbie in mantis bug tracker so may be my question is not that much proper.
I had install MantisBT Version 1.2.15. In that i want to install following plugins
JabberNotifierSystem
announce
MantisGraph
PastePicture
XmlImportExport
timetracking
Timecard
Zip-Export
Please find attached image in which i pointed my installed plugins & also mention above listed plugins which i want to install.
Can any one tell me how can i install those plugins?
Any suggestion or help would be appreciate.
Download the plugins from https://github.com/mantisbt-plugins to
your mantisbt/plugins folder.
You may have to change the base folder of the plugin. Refer the README or INSTALL file for the correct folder name.
Login to Mantis using the administrator account
Visit Manage-->Manage Plugins
Install the plugins by clicking the install link Some plugins may require other plugins as dependencies, you can follow the same steps to install them.

Gradle new plugin installation

What should I do to install a plugin into gradle so I can use it in the future builds.
I want to use rpm plugin here: https://github.com/TrigonicSolutions/gradle-rpm-plugin
I tried downloading the project and copying the jar that's there in the %GRADLE_HOME%/lib/plugins, but it doesn't look like it works since
apply plugin: 'rpm'
fails.
This should probably be easy, but I don't see it in docs or can't really find how to do it. Do I need to run some task to put the jar in the repository of plugins? Any info would be appreciated.
This question is a few months old, but figured I would provide an answer for those who browse to this page!
For the specific plugin above (and others, I would imagine), simply download the source, then using that source's root folder, run the following task:
gradle install
This should install the plugin for the current user.
Note, if you run some of your gradle scripts using 'sudo' or admin rights, you will have to install the plugin for them as well.

Using sudo to install maven projects

I've asked a couple of questions already trying to get around this. I've tried not using maven at all, but would like to figure out why it hasn't worked for me in the first place. All the guides I see online that detail how to install maven projects just say to check out the code, go to the directory you want and
mvn install
and it should just work. However, I always have to use
sudo mvn install
As a result, my builds are successful (installing mahout and hadoop) but because the installation was done by root, a normal instance of eclipse can't access the files because it does not have root permissions. I must be doing something wrong since these kinds of problems don't seem to be mentioned by others explaining how to do maven installs. Launching eclipse as root with
sudo eclipse
does solve this problem, but people are forever telling me it's a bad idea to anything as root.
Here's an example of a guide I looked at
http://harish11g.blogspot.co.uk/2012/02/configuring-mahout-clustering-hadoop.html
What have I missed?
I'm not familiar with the specifics of these projects builds. Typically, however, mvn install is not run with elevated privileges because all it does is build the projects and put the output artifacts in ~/.m2/repository/. This allows the artifacts to be referenced as dependencies by other maven projects you want to build locally. This is useful if you need to do development against unreleased code.
mvn install is not analogous to make install in that the latter will usually install binaries on system paths, where as the former installs binaries in your home directory (specifically ~/.m2/repository/ as mentioned above.

Install nuget packages to central folder

For the life of me I can't find an option to install all nuget packages to a central folder.
The only option seems to be Install and that always installs into the project folder.
With multiple projects using the same packages this is very inefficient.
I'd like to install all packages to the same central folder.
Can this be done?
Answer is here: Is it possible to change the location of packages for NuGet?
I successfully tried it with VS2012 and the latest nuget manager.