This seems kind of silly, but I followed this tut https://www.digitalocean.com/community/articles/how-to-install-laravel-with-nginx-on-an-ubuntu-12-04-lts-vps
It is installed properly, but it installs laravel inside /var/www/laravel. I am confused because I setup zpanel and set-up a ftp account, uploaded my local laravel project inside the root of that ftp account which is a part of a domain I setup.
I want to use composer to use php artisan but inside puTTY the directory is the root of the VPS. So obviously I need to figure out how to point to the files inside the root of the FTP account I created.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I see that the directory I manually installed laravel is /var/zpanel/hostdata/zadmin/public_html/moonrocketstudio_com <br> <br>So I could take the puTTY panel into that directory and issue commands? <br> <br>Let me try it!
It worked! By going to that directory I can run commands via php artisan. This is huge now I can seed, and migrate much easier. <br> <br>How do I edit the php files faster so that I can add seed items quicker? I guess thats a topic for another question.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.