cancel
Showing results for 
Search instead for 
Did you mean: 

how do i change to developer mode on aws lightsail magento?

SOLVED

Re: how do i change to developer mode on aws lightsail magento?

Hey Manthandave,

 

wow so sorry about all this, i do really appreciate your help but im really new at this. I have done as you instructed. went into my ssh via lightsail instance on aws. I typed in sudo su, then cd, and than php bin/magento deploy:mode:set developer. and i am not on "/home/bitnami.

 

I just cant figure out what i am missing. 

Re: how do i change to developer mode on aws lightsail magento?

I understand !! just give me full path where your magento 2 is installed ?

 

check where is your vendor directory ? post here full path of your magento 2 directory

if issue solved,Click Kudos & Accept as Solution

Re: how do i change to developer mode on aws lightsail magento?

Thank you for understanding, How do i check this? because i go through aws lightsail so i don't have it installed on my computer

 

Re: how do i change to developer mode on aws lightsail magento?

Hey ManthanDave,

 

the root was not installed to my SSH,

1) i installed the files 

2)typed in which root, and path was /usr/bin/root

 

Let me know if this is what your were requesting. 

 

also i have set up 

"php bin/magento deploy:mode:set developer" on file path below on on file tree. 

 

/apps/magento/htdocs/app/code/MagePal/GmailSmtpApp/etc/env.php

 

typed in "php bin/magento deploy:mode:set developer" under root on ssh and same this nothing is showing says "could not open input file: bin/magento

 

Thank you.

Re: how do i change to developer mode on aws lightsail magento?

okay got it .

 

so you need to run command from htdocs directory.

 

logged in to your SSH terminal

 

then go to htdocs directory by running - cd /apps/magento/htdocs

 

the run command - php bin/magento deploy:mode:set developer

 

Ultimately htdocs is your magento root directory , as per the given path.

 

in htdocs you will also find bin directory. so run this command from htdocs directory.

 

It will works !!

 

if issue solved,Click Kudos & Accept as Solution

Re: how do i change to developer mode on aws lightsail magento?

Hey @Manthan Dave

 

That didn't work, says "bash" no such file or directory

 

Exactly what file path am i trying to find to change developer mode? whats is the name of the file so i can show you the file path.

 

thank you. 

Re: how do i change to developer mode on aws lightsail magento?

you don't need to run it from file.

 

you need to run it from magento 2 root directory where in that bin directory exist

 

so run this command from magento2 root directory

if issue solved,Click Kudos & Accept as Solution

Re: how do i change to developer mode on aws lightsail magento?

this is what works and also you can change back to default....

 

On AWS Lightsail the tool is called magento instead.

sudo /opt/bitnami/apps/magento/htdocs/bin/magento deploy:mode:set developer

I changed it to default mode by using this path /apps/magento/htdocs/app/etc/env.php
then find where it says developer, and change it to default.
'MAGE_MODE' => 'default',

check in on my SSH and it says Default

Just Flush cache on ssh
sudo /opt/bitnami/apps/magento/htdocs/bin/magento cache:flush

there you go change to any mode follow above.