This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Chris-Dev:nog chris$ npm install | |
| - | |
| > nodegit@0.4.1 install /Users/chris/dev/nog/node_modules/nodegit | |
| > node lifecycleScripts/install | |
| module.js:338 | |
| throw err; | |
| ^ | |
| Error: Cannot find module 'fs-extra' | |
| at Function.Module._resolveFilename (module.js:336:15) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "nog", | |
| "version": "1.0.0", | |
| "description": "A simple site generator for GitHub Pages.", | |
| "main": "Gruntfile.js", | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1" | |
| }, | |
| "repository": { | |
| "type": "git", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use NowZoo\EventPublisher\API; | |
| $start = API::get_option_event_end(); | |
| // object(Carbon\Carbon)#4 (3) { | |
| // ["date"]=> | |
| // string(19) "2014-07-04 20:00:00" | |
| // ["timezone_type"]=> | |
| // int(3) | |
| // ["timezone"]=> | |
| // string(15) "America/Chicago" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Add the composer autoload | |
| */ | |
| require_once __DIR__ . '/vendor/autoload.php'; | |
| /** | |
| * Conditional environment statement | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # get the latest WordPress | |
| curl http://wordpress.org/latest.tar.gz -o latest.tar.gz | |
| # extract the archive | |
| tar -zxvf latest.tar.gz | |
| # move it to the root... | |
| mv wordpress/* ./ | |
| # delete the latest.tar.gz archive and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SetEnv IS_DEV_LOCAL 1 | |
| SetEnv DEV_DB_HOST localhost | |
| SetEnv DEV_DB_USER webapp | |
| SetEnv DEV_DB_PASS SuperSecret123 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git add -A | |
| git commit -m 'initial commit' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #.gitignore | |
| .DS_Store | |
| .idea | |
| vendor | |
| .elasticbeanstalk/ | |
| ## BEGIN WORDPRESS ## | |
| # ignore everthing... | |
| /wp-content/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - myapp | |
| - .elaticbeanstalk | |
| - config | |
| - .gitignore | |
| - index.php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| eb init |