Skip to content

Sample Vagrant configuration for trying out ServerPilot.

License

Notifications You must be signed in to change notification settings

manjoker/Vagrantfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

screen shot

This repo provides a sample Vagrantfile to create a 64-bit Ubuntu 12.04 virtual machine. After following the installation instructions, you'll have a server that you can manage with ServerPilot.

http://www.youtube.com/watch?v=n1qdvBY5WM8

https://serverpilot.io

Getting Started

  1. Install dependencies
  1. Clone this repo and get the VM up and running!
$ git clone https://github.com/ServerPilot/Vagrantfile.git
$ cd Vagrantfile
$ vagrant up
$ vagrant ssh

Connecting to ServerPilot

  • Log in to ServerPilot
  • Go to the Servers page and click + Connect Server
  • Give your server a name
  • Copy the whole command

screen shot

  • Paste the command in the VM shell and watch ServerPilot install

screen shot

Create Your First App

  • Go to the Apps page and click + Create App
  • Give your App a name and choose the server you just created

screen shot

  • Go to localhost:8080 in a new tab and you should see the ServerPilot splash page

screen shot

Not seeing the splash page? ServerPilot may still be installing packages on your server. Wait 60 seconds and refresh the page. This delay will only happen once, when you install ServerPilot initially.

Use Composer to Create a Laravel App

Switch to the serverpilot user

$ sudo -i
$ su serverpilot
$ cd ~/apps/APPNAME

Initialize a Laravel app with Composer (see the Laravel Quickstart)

$ rm -rf public
$ composer5.4-sp create-project laravel/laravel . --prefer-dist

When Composer is done, refresh localhost:8080 and you should see the Laravel splash page!

screen shot

What Next?

About

Sample Vagrant configuration for trying out ServerPilot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published