npm install Azure Devops - asp.net

Please help me set up npm install tall for the project. My project is on the gitlab, I set up the pipeline and release it. I do not understand which folder path I need to specify npm install, since only files from artifacts give me a choice. Perhaps I configured the pipeline incorrectly?
folder1
folder2

To solve this problem, you just need to write a script (npm install)enter image description here in your pipeline for releases

Related

Alfresco - Custom AMPs does not show even though installed

To add my custom amps I start from the base images:
alfresco/alfresco-content-repository-community:7.1.0
alfresco/alfresco-share:7.1.0.1
Then I copy my custom AMPs on to /usr/local/tomcat/amps and /usr/local/tomcat/amps_share followed by running:
RUN java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt*.jar install \
/usr/local/tomcat/amps_share /usr/local/tomcat/webapps/share -directory -nobackup -force
RUN java -jar $TOMCAT_DIR/alfresco-mmt/alfresco-mmt*.jar install \
$TOMCAT_DIR/amps $TOMCAT_DIR/webapps/alfresco -directory -nobackup -force
When I check the installed modules in the container with alfresco-mmt list I can see that they are installed. They also seem fine in the logs. However, when I go to: http://localhost:8080/share/page/console/admin-console/module-package it says No module packages found. Can someone explain this? How do I go about this? I have found no information at all in the official documentations or by googling.
I've also noticed that there are no .war files in the /usr/local/tomcat/webapps directory. Should there be a .war file in the docker containers or have they been replaced when deploying with containers? Any explanation is helpful. Thanks!

Meteor build not working

"meteor build" not working for me
http://screencast.com/t/iOjtsnA2l
I am on ubuntu 14 - Amazon Web Services (AWS)
And
I used these steps
https://rocket.chat/docs/developer-guides/pre-requisites/
Thanks for your help.
I believe I have found the issue, you need to specify an output directory. e.g. meteor build ../release would put the created tarball in the specified directory.

Is it okay to copy and paste a grunt directory?

I have a Grunt setup on my machine that's running SASS, Compass, Watch, Uglify... that kind of stuff. I've installed it using the command line (npm install...) from a tutorial.
I want to create a Grunt folder for another project. Is it okay to just copy that first folder and change the names? Is there some reason I should install the new one from the command line as well?
it will depends on what context you installed if was local or globally (-g).
If you installed locally without -g option, you are find to copy and past the folders.
However, would be a great practice to reuse only the package.json file and run the command, for your next project:
$ npm install

Deploying binaries from Bamboo to Nexus repository

Firstly I am new to Nexus. So please bear if it is too noob a question. Let me first explain how our current build/deployment process works.
HOW WE DO IT AT PRESENT:
We have a project that is Maven based. There is a parent POM.xml and two module pom.xmls Each child module POM.xmls create a JAR file each when built. Currently I am doing the build/ deployments manually. I checkout code from SVN to my local machine. I run mvn clean install. I have created a bash script to bundle the 2 Jar files + few other resources (Present just in SVN repo and gets downloaded to local) into a tar.gzip file. Now I SCP this to the app server. Run install scripts that deploys the tar.gzip file.
HOW WE WANT TO DO IT:
We plan to automate the build in Bamboo (Which I have already done). Then the built artifact needs to be uploaded to a Nexus repository (Due to security issues, the SCP task in Bamboo does not work because of establishing SSH connectivity from Bamboo Server to App Server).
MY FIRST HURDLE:
I have created a Bash Script task in Bamboo which does the bundling ( 2 Jars from each child Module POM + resources) to a tar.gzip. This tar.gzip is prersent in a path a/b/c/d on my bamboo machine.
How do I upload this tar.gzip to Nexus Repository?
MY CONFUSION:
I have read about uploading artifacts to Nexus. But I understand it if just 1 jar/ear/war file is created from the build. But we want the bundle. So if I make changes to settings.xml & POM.xml to configure the upload to NEXUS, each JAR file will be uploaded into separate paths in Nexus. And then I have to configure separately to upload the resource files (Not part of build). Is my understanding correct? Please let me know how to proceed with this?
Thanks in advance!!!
Use the Maven Assembly Plugin to create an assembly that contains your artifacts and resources, and then your regular maven deploy will deploy it into Nexus.

Deploy full Symfony2 app with composer

Is there a way to setup a composer.json file in order to deploy a full Symfony 2.3 app?
Suppose I have the app in the git repo https://myrepo#bitbucket.org/myrepo/sfwebapp.git
As far as I know, composer is dependency manager, not deployment manager. Sure, you could:
Pull Git repo
Run composer --install (this is basically the essential step)
Warm up cache
Symlink resources
Install assets
...
PROFIT
BUT, You would need to manually:
Check/perform initial directory structure setup
Keep track of old deployments
...
So, bottom line, you could achieve it but it would be like reinventing the wheel.

Resources