Questions tagged [deployment]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
1k views

Easy to Deploy 2 server setup on AWS

My client wishes to make a simple 2 server magento setup, one for the database and one for the webserver. Most AMI out there or AWS deployments are much much more complicated (and expensive!) and not ...
2
votes
0answers
48 views

Deploy Sample Data Content to app/code folder instead of vendor

I can deploy sample data to vendor folder with with the command bin/magento sampledata:deploy in Magento 2 however I want to edit this command to deploy sample data to app/code/magento folder instead ...
11
votes
1answer
877 views

Reasons to setup cronjob for setup:cron:run and update/cron.php on a deployed production system?

In Magento 2 there are three commands that should be set up as cronjob * * * * * <path to php binary> <magento install dir>/bin/magento cron:run | grep -v "Ran jobs by schedule" >> &...
0
votes
1answer
250 views

Why the check on installation date in M2?

So i've build a CI/CD process that worked perfectly on Magento 2.0 After upgrading to 2.1, stuff started to collapse. I use Magento's CLI commands to create env.php dynamically, depending on the ...
2
votes
1answer
1k views

When Compilation and Deployment is required in Magento 2

Its my first project in magento. I am confuse about deployment and compilation. When i do compilation every time after changes i got some error. Also deployment have many more time memory failed and ...
1
vote
0answers
269 views

A faster route to deploying static content in Magento 2? Dev to Live etc?

Massive bounty on this guys. Wanted to get some attention here. Maybe move it here instead.. https://stackoverflow.com/questions/38589283/a-faster-route-to-deploying-static-content-in-magento-2-dev-...
3
votes
1answer
1k views

Magento2 changes not deployed

I am working with Magento2 and have the problem, that my changes are only visible after a full php bin/magento setup:static-content:deploy en_US. Prerequisites: Magento 2.1.0 Linux VM with Apache / ...
4
votes
0answers
205 views

Order of Magento 2 deployment tasks [duplicate]

What order do the deployment tasks of static-files, DI compilation, and setup:upgrade have to be performed? In order to deploy updates for a Magento 2 site to live, the common approach would be to ...
0
votes
1answer
35 views

Install scripts on deployments

Is there a way to force the install scripts to run for every new deployment? When I deploy a new git branch to our QA servers, the install scripts are not kicking off since magento thinks they already ...
11
votes
1answer
896 views

Magento2 CI Server Integration for Production

What are steps, guidelines and flows that needs to be followed for a successfully Magento2 Continuous Integration workflow ?
2
votes
2answers
571 views

Deploy Magento 2 website on Staging server and Composer

I installed Magento 2 locally using Composer I use Git to track my code I need to deploy my local Magento 2 site to a staging server (shared hosting) 1) For what do I need Composer anyway on Staging ...
1
vote
1answer
822 views

Magento 2 .gitignore template in combination with Deploybot and Git workflow

I installed Magento 2 using composer locally (on my local Dev environment using MAMP). I added my custom theme and did all my frontend work on my local Dev site. I want my code and changes to be ...
2
votes
1answer
631 views

Magento 2 deployment from Dev to Staging using Git

I have a local Dev environment and installed Magento 2 using composer I initialized the local /magneto2/ folder as a Git repo I added this .gitignore file to the root of my /magneto2/ folder I have a ...
3
votes
3answers
2k views

magento2: how to only deploy used themes to speed up static deploy

Does anyone know if it's possible to restrict the setup:static-content:deploy to only deploy themes I actually use? For instance i have a theme that inherits from Magento/blank and we have two ...
0
votes
2answers
1k views

Deploy Production mode via SSH gets stuck at 'Static content deployment'

So, I guess this is kinda vague and hard to explain, so I'll try to give some detail to help contextualise the problem. I have a Magento 2.0.0 install, that I installed via cPanel's Installatron. ...
1
vote
1answer
578 views

CSS files give 404 error in production

The problem only occurs on frontend, and it does not occur in admin panel. I am running magento 2.0.4 over Ubuntu with Nginx and php5.6. Any bit runs over https including un-secure based urls. I ...
0
votes
0answers
54 views

how to deploy multiple websites and each with app folder magento2?

i develop magento2 modules, and "common practice" for module development is to install new magento2 everytime for new module. This is tedious and space consuming. I'm trying to use the multiple ...
7
votes
2answers
10k views

Magento 2 - How to view static content deploy errors

When I run php bin/magento setup:static-content:deploy I have had some errors in my theme. I have got to the bottom of them but it was a pain, I had to manually go through all my LESS files to check ...
2
votes
1answer
79 views

Magento Theme Package

Required database backup files with theme. I have build custom theme but need to get all static block data as well as cms pages database script and other required layout updates with theme deployment....
3
votes
1answer
1k views

Magento Enterprise Cloud Edition: What are the development and deployment tools?

The new PaaS solution of Magento Enterprise 2 has just been released, "Magento Enterprise Cloud Edition". Other than with Magento Go, you have full access to the source code and you can do whatever is ...
0
votes
1answer
337 views

Magento Project Deployment

I want to deploy my magento 1.9 project on server. I have done these steps: Export DB and inmport it into new server Change local.xml DB Connection repositories I am facing the problem with url ...
0
votes
1answer
570 views

Magento 2 : Can't deploy my custom theme

I've created a theme in Magento 2, but when I'm trying to deploy my Magento site to a server, it's static files don't get generated. I've already tried the solution in error during deploying custom ...
1
vote
1answer
63 views

Magento2 404s on css and js

Is there a list of command line tools to enter for changing modes? I went from developer mode to production and back again and now my css is all 404s.It doesn't feel like it should be this hard.
8
votes
4answers
7k views

Magento 2 deployment process

Currently we commit composer.lock to the repository and then run composer install --no-dev on the production server. I don't think this is the best way to do it because it takes a few minutes for ...
4
votes
3answers
2k views

Magento 2 Auto deploy Script using capistrano or other tools

Does anyone have a script which will deploy magento2 to the server using Capistrano or other auto deploy scripts? Thank you.
2
votes
0answers
377 views

Magento deployment on multiple AWS EC2 Instances with ELB [closed]

What is the best way to manage multiple Magento based instances behind a load balancer? How do i manage the replication between the instances. How do i replicate the new products/images or any other ...
1
vote
1answer
321 views

Can't download sample data from ssh anymore

I've always downloaded sample data from this link: http://www.magentocommerce.com/downloads/assets/1.9.1.0/magento-sample-data-1.9.1.0.tar.gz But today I got 404. I've read this answer (https://...
11
votes
1answer
254 views

Choose which file to install via Composer based on Magento version

It would be very convenient to include multiple versions of code in a composer'd module and have composer work out which version to deploy, based on the Magento version of the installation target. ...
9
votes
1answer
864 views

How to deploy DB changes from dev to production in Magento

I am aware that modules have install and data setup scripts to make the DB portable from dev to production. But in our case we have UI developers who add attributes and products through the admin ...
6
votes
2answers
178 views

Apply Security Patches on Multiple Magento Installations

I have multiple Magento websites with different versions (1.9.0.1, 1.9.1.0 and 1.9.1.1) in multiple servers. Is there any more easy and painless way other than ssh into each server separately and ...
3
votes
1answer
207 views

how to avoid site downtime on module install?

i have to run setup:upgrade command when ever installing new module in magento2. otherwise its giving error in front end.but if any user browsing on this time it will give error.how to handle this ...
18
votes
3answers
2k views

Managing Magento/Composer/Deployment

So, I'm enjoying using the hackathon Magento Composer installer, but I'm struggling to understand how others use it in relation to a deployment service. Currently I'm using DeployHQ, and yes, I can ...