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

Exactly where to add the sculpin.json snippet? #1

Open
markc opened this issue Aug 31, 2014 · 1 comment
Open

Exactly where to add the sculpin.json snippet? #1

markc opened this issue Aug 31, 2014 · 1 comment

Comments

@markc
Copy link

markc commented Aug 31, 2014

So I have a /usr/bin/sculpin and cloned the sculpin-blog-skeleton repo but I want to somehow add the bootstrap-3-blog-theme theme to that blog skeleton. I have never used this system or composer before so where EXACTLY do I add the bootstrap-3-blog-theme json snippet to the sculpin-blog-skeleton sculpin.json file? Ideally I'd like to use the latest Bootstrap 3.2.0 but it seems that maybe 3.0.3 is all that is available. Everything I try ends up with CLI errors and this last attempt just hangs...

{
    "name": "sculpin/blog-skeleton",
    "description": "A Skeleton for a Sculpin Based Blog",
    "type": "sculpin-skeleton",
    "license": "MIT",
    "authors": [
        {
            "name": "Dragonfly Development Inc.",
            "email": "[email protected]",
            "homepage": "http://dflydev.com"
        },
        {
            "name": "Beau Simensen",
            "email": "[email protected]",
            "homepage": "http://beausimensen.com"
        }
    ],
    "require": {
        "components/bootstrap": "~3.0.3",
        "components/jquery": "~1.9.1",
        "components/highlightjs": "~7.3.0",
        "sculpin/bootstrap-3-blog-theme": "dev-master"
    },
    "config": {
        "component-dir": "source/components"
    },
    "repositories": [
        {
            "type": "vcs",
            "url": "[email protected]:sculpin/bootstrap-3-blog-theme.git"
        }
    ]
}
@simensen
Copy link
Member

@markc You've stumbled onto some WIP code. :) If you want to try it out, you would need to checkout the themed branch from my personal fork of the Sculpin blog skeleton:

https://github.com/simensen/sculpin-blog-skeleton/tree/themed

Here are some notes:

https://gist.github.com/simensen/072bc27321c48a2d4845

Or inline:

#
# If you have Sculpin already...
#

git clone git://github.com/simensen/sculpin-blog-skeleton.git sculpin-blog-themed
cd sculpin-blog-themed
git checkout themed
sculpin install
sculpin theme:list
sculpin generate --watch --server


#
# If you need Sculpin...
#

git clone git://github.com/simensen/sculpin-blog-skeleton.git sculpin-blog-themed
cd sculpin-blog-themed
git checkout themed
curl -O https://download.sculpin.io/sculpin.phar
php sculpin.phar install
php sculpin.phar theme:list
php sculpin.phar generate --watch --server

It is highly experimental. It works, but things might change. Which is why I haven't merged it yet. :) Let me know if this helps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants