-
Notifications
You must be signed in to change notification settings - Fork 1
Install Dependencies
doomsayer2 edited this page Dec 13, 2016
·
3 revisions
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 inapp/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
toapp/config/local/database.php
-
MAMP/XAMPP: Copies
setup/database.php
toapp/config/database.php
-
Homestead: Copies
-
IMPORTANT: Manually configure
app/config/database.php
before continuing. Check out the Database config section for extra information on some edge cases. PressENTER
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