This server is used at Van Egmond Groep to develop our applications. It's basically a virtual Ubuntu 18.04 server with Docker, Docker Compose and Samba pre-installed.
- Clone this repository to your computer.
- Navigate to the folder in your terminal or command prompt.
- Run
vagrant upto start the server. - Run
vagrant sshto login to the server. - Run
vagrant haltto stop the server. - Run
vagrant up --provisionto reprovision the server. - Run
vagrant ssh -c "backup"to backup your application files to your host computer.
Your application files should live in the /srv folder which is shared by Samba to your host machine. To access the shared files navigate to:
- Windows:
\\192.168.25.100\srvin File Explorer. - MacOS / Linux:
smb://192.168.25.100/srvin Finder / File Manager.
Login with:
User: vanegmond
Password: secret
Tip: you can clone any repository to the shared srv folder.
Tip: run sudo smbpasswd -a vanegmond to change the share password.
Install the vagrant hosts updater plugin to update your hosts file while starting the development server. The server is then available via app.local in your browser. You can install this plugin using the command below (on your host machine):
vagrant plugin install vagrant-hostsupdater