Hi I'm looking to use codeship to deploy my master branch to my production shopify store.
How would i setup themekit so it would be available on my pipeline ?
Installing themekit involves sudo :
curl -s https://raw.githubusercontent.com/Shopify/themekit/master/scripts/install | sudo python
or homebrew brew install themekit
Both of which to the extent of my knowledge is not possible on codeship
Related
I have deployed jmeter in kubernetes by using
https://github.com/kubernauts/jmeter-kubernetes
But I am facing difficulties when I want to integrate selenium webdriver with jmeter in kubernetes. I see there is no official documentation to deploy in distribute environment like in kubernetes. I just want to know is it possible to deploy jmeter with webdriver in kubernetes?
Why not? It's just a matter of installing WebDriver Sampler Plugin
Looking into the repository you provided I can see that all the "magic" of JMeter Plugins installation is being performed in Dockerfile-base so you need to just add a line like:
RUN cd /jmeter/apache-jmeter-$JMETER_VERSION/ && wget -q -O /tmp/jpgc-webdriver-3.3.zip https://jmeter-plugins.org/files/packages/jpgc-webdriver-3.3.zip && unzip -n /tmp/jpgc-webdriver-3.3.zip && rm /tmp/jpgc-webdriver-3.3.zip
into the Dockerfile
I installed Moodle (eLearning PHP based app, but it could be any app) locally on Ubuntu and would like to package it as Docker image/container. There were whole bunch of installations and configurations done. I'd like to package all that so that I can deploy to some Docker enabled hosting service, such as Digital Ocean or AWS.
How do I create Docker image?
Do I need to handle networking, ports and Apache configuration for production deployment?
There ara a lot of Moodle images in dockerhub. just use one of them
The process to create docker images is well documented on Docker's documentation site. See: Build your own images
The idea is simple: You inherit/extend an existing image and make additions to it. This is done in a provisioning file called Dockerfile
Dockerfile Example:
FROM debian:8.4
MAINTAINER John Doe (j.doe#example.com)
# update aptitude
RUN apt-get clean && apt-get update
# utilities
RUN apt-get -y install vim git php5.6 apache2
In the example above I extend a Debian image, update aptitude and install a series of packages.
A full list of commands available in Dockerfiles is available at https://docs.docker.com/engine/reference/builder/
Once your Dockerfile is ready you can build the image using the following command:
docker build -t debian/enhanced:8.4 /path/to/Dockerfile
I am trying to install rocket chat on freebsd 10.
I tried installing using docker (https://github.com/RocketChat/Rocket.Chat/wiki/Deploy-with-Docker) and I was able install docker but not docker-compose.
Installing it without docker (https://github.com/RocketChat/Rocket.Chat/wiki/Deploy-Rocket.Chat-without-docker), I get stuck with nave. That is, after
npm install nave -g
and executing
nave usemain 0.5.3
i get this response
nave: Command not found.
Basically I just need Rocket Chat server working on freebsd. Any help will be appreciated
I've been able to successfully install Kubernetes in a CentOS 7 testing environment using the "virt7-testing" repo as described in the CentOS "Getting Started Guide" in the Kubernetes github repo. My production environment will be running on Oracle Linux 7, and so far enabling "virt7-testing" on OL7 hasn't been working.
Are there any other yum repositories out there that are compatible with OL7 and include Kubernetes?
It's not the best solution to pull outside of OEL, but I couldn't find an OEL repository with these packages, so I used this:
[]# cat /etc/yum.repos.d/virt7-common.repo
[virt7-common]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl=http://mirror.centos.org/centos/7/extras/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
A good start would be the rapidly updated fedora / epel kubernetes repositories.
Something like (untested)
yum --enablerepo=updates-testing install kubernetes kubernetes-devel flanneld docker
Should do it for you.
I have gone through many tutorials for installing tomcat in my Ubuntu system. I installed tomcat7. tomcat7-admin, tomcat7-examples and tomcat7-docs by following commands:
apt-get install tomcat7
apt-get install tomcat7-admin
apt-get install tomcat7-docs
apt-get install tomcat7-examples
After this setup I can start, stop the server by:
/etc/init.d/tomcat7 start/stop
I have following files and folders:
/usr/share/tomcat7/
/etc/tomcat7/
/var/lib/tomcat7/
I have added the following user in tomcat-users.xml file under /usr/sharetomcat7/conf/tomcat-users.xml and /etc/tomcat7/tomcat-users.xml
<user username="admin" password="amdin" roles="admin-gui,standard,manager-gui"/>
Now when I open localhost:8080, I get a dull page saying 'It works' unlike the colorful page we get generally. These are the contents of page:
You might consider installing the following packages, if you haven't already done so:
tomcat7-docs: This package installs a web application that allows to browse the Tomcat 7 documentation locally. Once installed, you can access it by clicking here.
tomcat7-examples: This package installs a web application that allows to access the Tomcat 7 Servlet and JSP examples. Once installed, you can access it by clicking here.
tomcat7-admin: This package installs two web applications that can help managing this Tomcat instance. Once installed, you can access the manager webapp and the host-manager webapp.
But when I click on 'click here' link above to open admin, docs or examples I get "HTTP status 404: The requested resource is not available."
But I have installed admin, examples and docs. I am not getting it. Please help! I am using Ubuntu 13.04
on ubuntu 14.04 it worked for me using following command :
sudo apt-get install tomcat7-docs tomcat7-admin tomcat7-examples
Create a link for each application in webapps folder as below:
cd /var/lib/tomcat7/webapps
sudo ln -s /usr/share/tomcat7-examples/examples examples
sudo ln -s /usr/share/tomcat7-docs/docs docs
sudo ln -s /usr/share/tomcat7-admin/manager manager
sudo ln -s /usr/share/tomcat7-admin/host-manager host-manager