To get a local copy up and running follow these simple steps.
This is an example of how to list things you need to use the software and how to install them.
- install composer
- install vagrant (tested with vagrant 2.2.14)
- install virtualbox (tested with virtualbox 6.1)
-
Clone the repo
git clone https://github.com/leonbubova/paper-hands.git
-
Copy
.envexample
and rename it to.env
-
Copy
Homestead.exmpample.yaml
and rename it toHomestead.yaml
-
Edit the path to your project root in Homestead.yaml
folders: - map: /path/to/paper-hands
-
Install composer packages
composer install
-
Start your local Vagrant Machine
vagrant up
-
Create a new local database in your Vagrant Machine
php bin/console doctrine:database:create
-
Run the existing migrations
php bin/console doctrine:migrations:migrate
That's it for initial setup. You now only have to run vagrant up
to start local developement.
When you are finished run vagrant halt
You can visit the site on localhost:8000