Skip to content

Install Dependencies

doomsayer2 edited this page Dec 13, 2016 · 3 revisions

Start setup

macOS: sh setup.sh (use sudo if necessary)
Windows: setup.bat (run as administrator)

This setup will guide you through the process of installing Mobilot on your machine:

  • Asks whether the database has already been created (Y/n), if yes:
  • Attempts to create cache, logs, meta, sessions, views directories in app/storage/
  • Attempts to create public/upload directory
  • Executes composer install
  • Asks what kind of environment you are using (H̲omestead/M̲AMP/X̲AMPP):
    • Homestead: Copies setup/database.php to app/config/local/database.php
    • MAMP/XAMPP: Copies setup/database.php to app/config/database.php
  • IMPORTANT: Manually configure app/config/database.php before continuing. Check out the Database config section for extra information on some edge cases. Press ENTER when you are done.
  • Executes php artisan migrate (requires confirmation)
  • Installs npm modules
  • Installs bower modules
    • When asked, always choose the later module versions required by Mobilot.
  • Creates development-ready build.
  • Asks whether you like to serve Mobilot out now (Y/n), if yes:
  • Executes php artisan serve