You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Apache Ignite uses Bootstrap framework for its website.


Installation

Install SASS (http://sass-lang.com/install) using:

$ sudo gem install sass

Install compass (http://compass-style.org/install) using:

$ sudo gem install compass

Checkout SVN website repository:

$ svn co https://svn.apache.org/repos/asf/incubator/ignite/site/trunk 

Update website

Open httpd.conf file located in /etc/apache2 and make following changes:

Locate in your file :

#ServerName www.example.com:80

to

#
# Controls who can get stuff from this server.
#
Order deny,allow
Allow from all
</Directory>

Replace that code with the one below :

 

#ServerName www.example.com:80
#
# Deny access to the entirety of your server's filesystem. You must
# explicitly permit access to web content directories in other
# <Directory> blocks below.
#
<Directory />
AllowOverride none
Order deny,allow
Deny from all
</Directory>
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "path-to-ignite-website-folder"
<Directory "path-to-ignite-website-folder">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options FollowSymLinks Multiviews Includes
MultiviewsMatch Any
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order deny,allow
Allow from all
</Directory>

Provide correct values for:

DocumentRoot "path-to-ignite-website-folder"
<Directory "path-to-ignite-website-folder">

Start Apache HTTP Server using:

$ sudo apachectl start

 

Edit CSS

Do NOT edit all.css directly. Run SCSS watchdog:

$ compass watch scss/all.scss

You can edit "all.scss" and "ignite.scss" files.


  • No labels