0.1.0 • Published 9 years ago

homepress v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

A simple approach to local development for WordPress. Using this tool, you'll get a per-project installation of WordPress using Laravel's Homestead.

Have the requirements met below, then simply run:

npm install -g homepress
homepress start

During install, Homestead will ask if you want to add your new local dev site IP address to your hosts file. Hint: you do.

If you already have node, update it:

sudo npm cache clean -f
sudo npm install -g n
sudo n stable

Install composer globally:

If you already had composer, update it! composer self-update.

Init Everything: homepress start OR homepress init

Update your WordPress Version: homepress wp-update

Generate new WordPress salts: homepress wp-salts

Install VM Only (because you already have WordPress): homepress vm-init

Start the VM: vagrant up

Stop/Halt the VM: vagrant halt

SSH into the VM: vagrant ssh

If you use a tool like Sequel Pro, you'll want to use these connection settings to connect to Mysql within the VM.

  • Setup connection details:
    • Host: 127.0.0.1
    • User: homestead
    • Password: secret
    • Database: homestead
    • Port: 33060

To develop and test this locally, simply do this:

git clone https://github.com/lasergoat/homepress.git
cd homepress
npm install
cd ../
mkdir test
cd test

Then, every time you edit a file in homepress, run this command:

cd ../homepress && npm link && cd ../test && homepress start

This will avoid creating vm and WordPress files within the homepress directory

0.1.0

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago