forked from Juicymo/devfest.cz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
71 lines (57 loc) · 2.36 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
DevFest.cz
==========
The devfest.cz site forked from dartlang.org repository (https://github.com/dart-lang/dartlang.org).
* Built with Jekyll (https://github.com/mojombo/jekyll)
* Hosted on App Engine
ORIENTATION
* ./src
* contains all the working files
* ./src/appengine
* contains app engine configuration files
* ./src/site
* documents, HTML files, images, etc.
* you will work out of here normally
* ./build
* generated by jekyll, to be deployed to server
* this directory is transient, can be deleted
CONFIGURING YOUR MAC SYSTEM
* Ensure you have Python 2.7.
* On a mac? You might want the binary install of Python at http://www.python.org/download/releases/2.7.3/
* Open a new Terminal.
* run 'gem install jekyll'
* ensure you are using 0.11.2 or higher
* run 'gem install kramdown'
* run 'gem install pygments.rb'
* run 'gem install compass'
* Install a forked version of compass-twitter-bootstrap
* git clone git://github.com/toao/compass-twitter-bootstrap.git
* cd compass-twitter-bootstrap
* (ensure you have bundler installed. try running 'sudo gem install bundler')
* run 'bundle'
* run 'rake build'
* cd pkg
* run 'gem install compass_twitter_bootstrap'
* install the bleeding edge of Pygments
* hg clone https://bitbucket.org/olov/pygments-main
* cd pygments-main
* python setup.py install
* Download and install the App Engine launcher: https://developers.google.com/appengine/downloads
* Tell App Engine to use Python 2.7 if it's not
* It will say, in the log "you're using 2.6"
* On a Mac?
* Go to Preferences, and enter the direct path to the Python 2.7 binary,
which you downloaded from http://www.python.org/download/releases/2.7.3/
* The full path is /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
DEVELOPMENT
* Make sure you are in the root of this project.
* Run the server: 'make server'
* Your web browser opens to http://localhost:8080
* You may need to reload once.
* Edit, create docs as normal.
DEPLOYMENT
* run 'make clean && make deploy'
* this builds the site and places everything into 'build'
* this command also uses the current branch for the app engine version name
* this command will then deploy the site
* You will probably need to grab a unique password from your Google Account settings.
* Save this into the App Engine Launcher during the first deployment.