Make `nikola init` ask for stuff #1080

Closed
Kwpolska opened this Issue Feb 25, 2014 · 5 comments

Comments

Projects
None yet
4 participants
@Kwpolska
Member

Kwpolska commented Feb 25, 2014

(absolutely not inspired by Pelican. I didn’t just perform pip install pelican in my nikola-py2 virtualenv. And that below is not a copy-paste from a terminal running pelican-quickstart. There is nothing below, besides another paragraph of text. And just one paragraph. Any more is a product of your imagination.)

(nikola-py2)[kwpolska@kw-cassandra /tmp]% pelican-quickstart
Welcome to pelican-quickstart v3.3.0.

This script will help you create a new Pelican-based website.

Please answer the following questions so this script can generate the files
needed by Pelican.


> Where do you want to create your new web site? [.] p
> What will be the title of this web site? Pelican Site
> Who will be the author of this web site? Chris Warrick
> What will be the default language of this web site? [en] 
> Do you want to specify a URL prefix? e.g., http://example.com   (Y/n) n
> Do you want to enable article pagination? (Y/n) y
> How many articles per page do you want? [10] 
> Do you want to generate a Fabfile/Makefile to automate generation and publishing? (Y/n) y
> Do you want an auto-reload & simpleHTTP script to assist with theme and site development? (Y/n) y
> Do you want to upload your website using FTP? (y/N) n
> Do you want to upload your website using SSH? (y/N) n
> Do you want to upload your website using Dropbox? (y/N) n
> Do you want to upload your website using S3? (y/N) 
> Do you want to upload your website using Rackspace Cloud Files? (y/N) 
Done. Your new project is available at /tmp/p

We could (and should) ask some questions from here, and some different ones… it’d be a nice addition!

PS. I still like Nikola more. Pelican feels just empty, bland and featureless to me…

@Kwpolska Kwpolska added this to the v7.0.0 milestone Feb 25, 2014

@asmeurer

This comment has been minimized.

Show comment
Hide comment
@asmeurer

asmeurer Feb 25, 2014

Contributor

Having tried Pelican before using NIkola, I thought it was odd that it didn't to this, and was little surprised that my blog was building just fine but as "Nikola Test" or whatever until I ran through the config file.

Contributor

asmeurer commented Feb 25, 2014

Having tried Pelican before using NIkola, I thought it was odd that it didn't to this, and was little surprised that my blog was building just fine but as "Nikola Test" or whatever until I ran through the config file.

@ralsina

This comment has been minimized.

Show comment
Hide comment
@ralsina

ralsina Feb 25, 2014

Member

Good defaults matter :-)

Member

ralsina commented Feb 25, 2014

Good defaults matter :-)

@damianavila

This comment has been minimized.

Show comment
Hide comment
@damianavila

damianavila Feb 25, 2014

Member

pip install pelican!!! What a heresy!! ;-) ja ja...

Member

damianavila commented Feb 25, 2014

pip install pelican!!! What a heresy!! ;-) ja ja...

@Kwpolska

This comment has been minimized.

Show comment
Hide comment
@Kwpolska

Kwpolska Feb 26, 2014

Member

pip install pelican in a virtualenv named nikola-py2 is even more of a heresy!

Member

Kwpolska commented Feb 26, 2014

pip install pelican in a virtualenv named nikola-py2 is even more of a heresy!

@damianavila

This comment has been minimized.

Show comment
Hide comment
@damianavila

damianavila Feb 26, 2014

Member

Hey @ralsina, I think @Kwpolska deserves a punishment! 😆

Member

damianavila commented Feb 26, 2014

Hey @ralsina, I think @Kwpolska deserves a punishment! 😆

Kwpolska referenced this issue Mar 11, 2014

Uncomment settings which are configurable from init.py:SAMPLE_CONF
If the settings are commented, changing them during nikola init, by
modifying SAMPLE_CONF has no effect.  This is not expected.

Kwpolska added a commit that referenced this issue Mar 12, 2014

Fix #1080 -- Make `nikola init` ask for stuff.
Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>

Kwpolska added a commit that referenced this issue Mar 12, 2014

Fix #1080 -- Make `nikola init` ask for stuff.
Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>

Kwpolska added a commit that referenced this issue Mar 14, 2014

Fix #1080 -- Make `nikola init` ask for stuff.
Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>

Kwpolska added a commit that referenced this issue Mar 15, 2014

Fix #1080 -- Make `nikola init` ask for stuff.
Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>

@Kwpolska Kwpolska closed this in 90d61a1 Mar 21, 2014

Kwpolska added a commit that referenced this issue Mar 21, 2014

Merge pull request #1128 from getnikola/init-with-questions
Fix #1080 -- Make `nikola init` ask for stuff.

@Kwpolska Kwpolska removed the in progress label May 16, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment