Skip to content

ethanbeyer/ProcessWireProjectBase

Repository files navigation

Some Dependencies

  1. Virtualbox
  2. Vagrant
  3. Ghost

Startup

  1. Edit SITENAME and XXX.XXX in ./Vagrantfile
  2. From within the project, run $ vagrant up
  3. Add the IP/URL to your hosts file.

Packages

  1. Run $ vagrant ssh. After that logs in to the box...
  • run $ cd /var/www/public
  • then $ composer update
  • then $ logout
  1. Run $ yarn install to install all NPM packages.

Install ProcessWire

  1. Navigate to the http://your-sitename in your browser, and follow instructions to install PW.
  • DBNAME: scotchbox
  • DBUSER: root
  • DBPASS: root

Compile

  1. Run $ gulp from within the project
  2. Run $ chmod 400 site/config.php from within the project
  3. Log in to ProcessWire at http://your-sitename/admin
  4. Click on "Refresh" under Modules

If Uploads Are Not Working

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.

About

A Processwire Project base with Modules and Development Files to get you off the ground.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published