1
0
Fork 0
forked from github/pelican
Commit graph

47 commits

Author SHA1 Message Date
L. E. Segovia
5c6ae32f99 For python 2+, initialize locale. Fixes #2043 2016-12-16 23:10:53 +01:00
Nicolas Stinus
c1a5279da9 Localize default lang and timezone in pelican-quickstart
Fixes #1971.
2016-10-02 13:22:26 -04:00
derwinlu
8993c55e6e fulfil pep8 standard 2015-08-17 13:34:32 +02:00
Matthew Scott
d6ebf772e3 Allow --path even when using a virtualenv project 2015-04-23 13:30:24 -05:00
Deniz Turgut
2e84e30ad3 Fixes #1695: replace with list comprehension for py3 compatibility 2015-04-14 15:19:16 -04:00
Midhul Varma
bbbb3247ea Add timezone prompt to quickstart. Refs 1337. 2014-12-29 04:26:51 +05:30
Justin Mayer
a9d1fdae3d PY and PELICAN env variable overrides for Make
This allows the user to set PY and/or PELICAN environment variable
overrides, which will be respected by the Makefile and devserver.sh.
If, for example, the default Python on your system were Python 3 and
you wanted to run Make with Python 2, using bash you could run
`PY=python2 make`. Refs #915.
2014-02-08 14:32:58 -08:00
wvi
71103ef2c1 Fix #1182# 2013-12-23 21:32:10 +01:00
Jamie Culpon
c495502c8f Support publishing to personal pages sites in quickstart
Previously pelican-quickstart would assume that the site it created for GitHub
Pages should be published to the gh-pages branch. This is correct for project
pages, but not correct for personal pages. Personal pages, which live in a
user's special username.github.io repository, are instead deployed to the
master branch. This means that if you did pelican-quickstart and tried to
publish your new personal site with make github you'd see nothing (or whatever
old pages site you had floating around in master).

ghp-import already supports publishing to different branches, so publishing
to the correct branch is just a matter of correct configuration and updating
the Makefile to pass the branch along to ghp-import. pelican-quickstart now
asks if the user wants to publish to GitHub Pages, and if so, asks if this
is a personal page and chooses the correct branch appropriately. I preferred
this approach to prompting for an arbitrary branch because I felt that
choosing the branch would feel more intimidating to someone using
pelican-quickstart for the first time.

This essentially ports changes I made to my personal pages site at
jculpon@82cae477a9e8712b90654f6432464369ebcc7ae5
2013-12-06 17:39:51 -08:00
Nicholas Kuechler
6b68d94079 Adds Rackspace Cloud Files support to quickstart and fabfile 2013-08-05 23:30:31 -05:00
Justin Mayer
1abd5ef447 Merge pull request #894 from dominiqueplante/quickstart-debuggable
make Pelican-quickstart debuggable in PyCharm
2013-08-03 16:35:36 -07:00
Justin Mayer
30192b2318 Add fabfile generation to pelican-quickstart
This commit adds optional fabfile.py generation during the
pelican-quickstart process. Reasons include:

* "make" is cumbersome to install on Windows
* Fabric runs in any Python environment
* fabfile is just Python and thus more flexible and extensible

This is an initial implementation and does not currently provide as many
upload options as its Makefile counterpart.

Refs #584.
2013-07-29 11:03:14 -07:00
Rogdham
0ecae1f50d Encoding issue in pelican-quickstart. Fixes #904 2013-05-26 11:38:55 +01:00
Dominique Plante
6c9d158609 makes Pelican-quickstart debuggable in PyCharm 2013-05-18 06:33:49 -07:00
Chenguang Wang
5e4622b229 make pelican-quickstart and the Makefile it generates support py3k. 2013-03-23 19:37:02 -07:00
Alexis Metaireau
5dbb8c3041 Merge pull request #775 from lexual/s3_support_for_quickstart
Added S3 support for pelican quickstart.
2013-03-23 19:16:39 -07:00
W. Trevor King
b59da89e80 Convert '.' and '..' to the less magical os.curdir and os.pardir
While I'm cleaning up path manipulation, I might as well make things
more semantic.
2013-03-21 12:44:44 -04:00
lexual
62ab60d0b1 Added S3 support for pelican quickstart. 2013-03-15 15:04:33 +11:00
Andrew Spiers
205792e9d4 string types have no decode method in py3 2013-03-03 22:00:37 -08:00
Dirk Makowski
71995d5e1b Port pelican to python 3.
Stays compatible with 2.x series, thanks to an unified codebase.
2013-01-11 03:20:09 +01:00
Alexis Métaireau
dd299d272b merge win-encoding 2012-10-25 14:47:57 +02:00
Remi Rampin
7d1c362635 Fixed escaping in files generated from quickstart
Variables are properly escaped before they are replaced in the
templates.
2012-10-12 23:01:50 +02:00
guillermooo
c02926e2ad fix encoding issues in Linux 2012-09-02 10:59:33 +02:00
guillermooo
fc749755df fix encoding problem in Windows 2012-09-02 09:26:58 +02:00
Justin Mayer
7ee6fdd9e6 Make develop_server.sh executable. Refs #443.
The pelican-quickstart command generates a develop_server.sh file that
must have executable permissions in order to run.
2012-08-03 08:26:19 -07:00
Alexis Metaireau
5cb009d782 if not virtualenv is defined, fallback on '.' 2012-07-23 18:37:12 +02:00
tBunnyMan
18183632dc Fixed the wording for the quickstart 2012-07-16 08:42:05 -07:00
tBunnyMan
ec23c94645 Made the develop server init script it's own question per req.
Cleaned up an improper whitespace found on 207 as well.
2012-07-12 07:32:08 -07:00
tBunnyMan
38ffcfd4c4 Added the delevop_server script
This script and the small changes to quick start's makefile make for easily launching and killing of pelican --debug --autoreload and SimpleHTTPServer.
This is extra useful for working on templates.
2012-07-08 17:50:18 -07:00
Justin Mayer
764a2cfa51 Add dual dev/publish modes to quickstart script
Certain configuration options are more useful in production than they
are in development. Some examples might be absolute URLs, external
analytics service identifiers, Disqus comments, etc. This version of the
quickstart script creates two configuration files: one for development
and the other for use when publishing. In addition, the related docs
have been expanded considerably. Last but not least, the quickstart
script will now detect whether there is a project folder associated with
the currently active virtualenv (if any) and use it by default.
2012-07-07 07:41:12 -07:00
Justin Mayer
d8b85580dc Minor syntactical improvements to quickstart 2012-07-05 12:15:55 -07:00
Justin Mayer
72421d4438 Support arbitrary SSH ports in pelican-quickstart
Some folks choose non-standard SSH ports for security reasons, so it
makes sense to try to support that in the pelican-quickstart script.
2012-07-05 11:34:45 -07:00
m-r-r
d97fc8f666 Fixed some errors 2012-05-06 12:32:53 +02:00
m-r-r
7c53cc8955 Moved templates in pelican_quistart.py to a directory 2012-05-06 12:07:13 +02:00
Albrecht Mühlenschulte
1d6289245a removed duplication 2012-05-06 02:01:36 +02:00
Albrecht Mühlenschulte
a60fa59514 removed duplication 2012-05-06 01:59:19 +02:00
Albrecht Mühlenschulte
29fed3cc85 merged back master 2012-05-06 01:50:53 +02:00
Andrew Laski
a0d5596605 Modifed question so that it's more clear 2012-04-16 20:39:41 -04:00
Kyle Fuller
7b5b99aafa Merge pull request #303 from dafyddcrosby/typos
Fix some typos and grammar
2012-04-15 06:33:51 -07:00
Kyle Fuller
ac8f3fc653 Fix misspelling of ftp_target_dir in quickstart 2012-04-15 14:31:34 +01:00
Dafydd Crosby
28a1e0f432 Fix some typos and grammar 2012-04-07 18:02:40 -06:00
Stéphane Raimbault
ae97cbfb72 Fix misspelling of ssh_target_dir in quickstart 2012-04-07 17:33:23 +02:00
Albrecht Mühlenschulte
405cc66637 added missing file extension in make file generation (index.html) 2012-04-07 11:01:31 +02:00
Albrecht Mühlenschulte
7b657032ae added rsync_upload to the generated Makefile 2012-04-06 21:54:11 +02:00
Rémy HUBSCHER
b509fe70cd Add rsync_upload 2012-04-06 09:55:15 +02:00
Alexis Metaireau
2d55eacc57 Fix the autogenerated makefile.
Fix #278
2012-04-01 13:21:44 +02:00
Andrea Crotti
4e4af9d011 move tools in pelican.tools and add the pelican.tools package to setup.py 2012-03-16 18:53:08 +00:00
Renamed from tools/pelican_quickstart.py (Browse further)