Website with Laravel framework to create your own CV online
Using Homestead as a LAMP Stack
- Install VirtualBox 5.x
- Install Vagrant
- Open a command prompt and type in the following:
vagrant box add laravel/homestead
- Navigate to a folder where you want to have your Homestead virtual machine configuration then type:
$git clone https://github.com/laravel/homestead.git Homestead
- Navigate to the Homestead folder.
cd Homestead
- Once the cloning has finished, run the initialisation by typing:
$bash init.sh
The configuration files are located on Linux in the following folder:
~/.homestead
and on Windows:
%USERPROFILE%/.homestead
Open Homestead.yaml. The following lines must be set, the values between [ ] are user defined:
--- ip: "192.168.10.10" memory: 2048 cpus: 1 provider: virtualbox authorize: ~/.ssh/[The public key name].pub keys: - ~/.ssh/[The private key name] folders: - map: [Windows path to repository]/CVGenerator to: /home/vagrant/Code sites: - map: homestead.app to: /home/vagrant/Code/framework/public
- Install Laravel
- Type in the command
laravel new [App name]
- Clone this repository in another folder.
- Navigate to the framework folder and edit .env.example then rename it to .env. or you can just copy the one from [App name]
- Modify your ngix file to point to framework/public where the index.php file is located.