Run Artisan command to set up Microweber multisite

So on a fresh install, I login to the root of Microweber and run (an edited version of this for my own site): php artisan microweber:install admin password storage/database1.sqlite microweber microweber nopass sqlite -p site_ -t dream -d 1 -c 1

However it just returns Could not open input file: artisan

Same if I just run PHP artisan list - is there a folder I need to go to first before I run that command?

To confirm I go - SSH root@[MY-IP] > Confirm Key and it shows root@microweber-ubuntu-s-[rest-of-info]:

I then run the command.


Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

Hi there @BigElectricBlueCoral,

Yes, you need to go to the directory where the Microweber is installed at. To do that you can use the following command:

  1. cd /var/www/html

After that, you can run the artisan commands as normal.

Regards, Bobby

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.