Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First pass of integrating Sculpin as a blog engine [DO NOT MERGE] #88

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ html/
._Vagrantfile
._puphpet
tests/coverage/
public/
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,12 @@ You should have [Composer](http://getcomposer.org) installed and available. If y
10. Copy `.env.example` to `.env`
11. Create a new Github Application at <https://github.com/settings/applications/new>
- Set the **Homepage** and **Authorization callback URL** to <http://mentoring.dev>
10. Update your `.env` file and set the `GITHUB_API_KEY` and `GITHUB_API_SECRET` to the Client ID and Client Secret for your app.
13. Visit <http://mentoring.dev> in your browser!
12. Update your `.env` file and set the `GITHUB_API_KEY` and `GITHUB_API_SECRET` to the Client ID and Client Secret for your app.
13. Generate the public directory output with:

`rm -rf public/; vendor/bin/sculpin generate; mv output_dev public; cp source/.htaccess public/;`

14. Visit <http://mentoring.dev> in your browser!

#### Running Without Vagrant

Expand Down Expand Up @@ -91,11 +95,15 @@ Steps:
9. Create a new Github Application at <https://github.com/settings/applications/new>
- Set the **Homepage** and **Authorization callback URL** to <http://mentoring.dev:8080>
10. Update your `.env` file and set the `GITHUB_API_KEY` and `GITHUB_API_SECRET` to the Client ID and Client Secret for your app.
11 To run using PHP's built-in server, navigate to the root of the project and run:
12. Generate the public directory output with:

`rm -rf public/; vendor/bin/sculpin generate; mv output_dev public; cp source/.htaccess public/;`

13. To run using PHP's built-in server, navigate to the root of the project and run:

php -S mentoring.dev:8080 -t public public/index.php

12. Visit <http://mentoring.dev:8080> in your browser!
14. Visit <http://mentoring.dev:8080> in your browser!


### Email in Development
Expand Down
Empty file added app/config/sculpin_kernel.yml
Empty file.
Empty file added app/config/sculpin_site.yml
Empty file.
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"silex/silex": "~1.2",
"twig/twig": "~1.18",
Expand All @@ -7,8 +9,7 @@
"robmorgan/phinx": "0.4.*",
"monolog/monolog": "~1.13",
"doctrine/dbal": "~2.2",
"guzzlehttp/guzzle": "~3.7",
"league/oauth2-client": "0.10.*",
"league/oauth2-client": "~1.0",
"symfony/validator": "~2.6",
"symfony/config": "~2.6",
"symfony/translation": "~2.6",
Expand All @@ -17,7 +18,9 @@
"mockery/mockery": "0.9.*",
"erusev/parsedown": "1.5.3",
"ezyang/htmlpurifier": "4.6.0",
"swiftmailer/swiftmailer": "^5.4"
"swiftmailer/swiftmailer": "^5.4",
"sculpin/sculpin": "~2.0",
"league/oauth2-github": "^0.2.1"
},
"require-dev": {
"phpunit/phpunit": "4.6.*",
Expand Down
Loading