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

Assemble or generator-assemble for an existing project? #589

Closed
neo-art opened this issue Nov 7, 2014 · 6 comments
Closed

Assemble or generator-assemble for an existing project? #589

neo-art opened this issue Nov 7, 2014 · 6 comments

Comments

@neo-art
Copy link

neo-art commented Nov 7, 2014

Hi,

I have an existing project built with yeoman-webapp (I also added bourbon/neat as a grid framework
+webplate ui kit) and I would like to use assemble as a static site generator.
Unfortunately I am not experienced with assemble at all so I was hopping you could share your
thoughts what would be the right way to do that:
1. to install assemble alone in a separate directory and after that to merge it with the
yeoman-webapp project;
or
2. to install generator-assemble directly in the yeoman-webapp root or some other folder
(i.e. app/)?

Thank you in advance :)

@neo-art
Copy link
Author

neo-art commented Nov 7, 2014

This is how my project structure looks like:

   app
    ├───│
    │ ├── favicon.ico
    │ ├── images
    │ │   ├
    │ ├── img
    │ │   └
    │ ├── index.html
    │ ├── robots.txt
    │ ├── sass
    │ │   └── main.scss
    │ ├── scripts
    │ │   └── main.js
    │ ├── styles
    │ │   ├── main.css
    │ │   └── main.css.map
    │ └── webplate
    │
   bower_components
    │
   dist
    │
   node_modules
    │
   test
    │
   bower.json
   Gruntfile.js
   package.json

@ain
Copy link
Member

ain commented Nov 7, 2014

I have extended yeoman-webapp to feature assemble in generator-pioneerapp, feel free to follow its logic or use directly. You can install it and scaffold to see how it works :)

@neo-art
Copy link
Author

neo-art commented Nov 7, 2014

Thank you for sharing the repo @ain

Looks interesting. I will look at it. :)

@Sebastian-Fitzner
Copy link

Hi, i have developed pg. That is a generator with assemble, Bourbon neat as option and many other features. Feel free and test it. http://prototype-generator.com/

Another way is to use a simple assemble folder in your app directory and add the assemble task. Do you have a git repo? Then i can help.

@neo-art
Copy link
Author

neo-art commented Nov 7, 2014

Hi @Sebastian-Fitzner ,

Thanks for the link. You did a great job with your generator.
I will surely give it a try. :)

Do you have a git repo?

Not yet but I will post here if I need any help.
Thank you once again. :)

@jonschlinkert
Copy link
Member

closing since this is more of a user question. please ask user questions on stackoverflow

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

4 participants