- Edit
SITENAME
andXXX.XXX
in./Vagrantfile
- From within the project, run
$ vagrant up
- Add the IP/URL to your hosts file.
- Run
$ vagrant ssh
. After that logs in to the box...
- run
$ cd /var/www/public
- then
$ composer update
- then
$ logout
- Run
$ yarn install
to install all NPM packages.
- Navigate to the
http://your-sitename
in your browser, and follow instructions to install PW.
- DBNAME: scotchbox
- DBUSER: root
- DBPASS: root
- Run
$ gulp
from within the project - Run
$ chmod 400 site/config.php
from within the project - Log in to ProcessWire at
http://your-sitename/admin
- Click on "Refresh" under Modules
Run the following commands:
$ vagrant ssh
$ sudo apt-get update
$ sudo apt-get install php-gd
$ sudo vim /etc/php5/apache2/php.ini
$ /always_populate_raw_post_data<CR>
Uncomment the line: always_populate_raw_post_data=-1
and save that file.
Then run $ sudo service apache2 restart
.