Build Instant Websites with Poole
What do instant coffee and Poole have in common? Both can be used to get a result in seconds. Put a teaspoon or two of instant coffee in a cup, add hot water, stir, and enjoy. Generating a website with Pool is almost as fast and easy. But before you put Poole to some practical use, make sure that Python 2.5 or higher and the python-markdown package are installed on your machine. Pull Pool from the project's Mercurial repository:
hg clone http://bitbucket.org/obensonne/poole/ ~/poole
Open the ~/.bashrc file in a text editor and add the following line to it:
Create a directory for your website and switch to it:
mkdir ~/poolsite cd ~/poolsite
Use the commands below to initialize the directory, generate a sample website, and launch Poole's built-in server:
poole.py --init poole.py --build poole.py --serve
You can then see the freshly-baked website in all its glory by pointing your browser to http://127.0.0.1:8080/.
To add a new page to the sample website, create a Markdown text file in the ~/poolsite/input directory. If you want to include the page into the website's navigation menu, add the following header at the top of the text file (replace Page title with the actual name and specify the desired position in the menu by modifying the menu-position value).
title: Page title menu-position: 0 ---
Save the file with the md extension, and run the poole.py --build command to rebuild the website. Despite its simplicity, Poole is a rather flexible tool. For example, it uses a simple HTML template to generate pages, so you can easily control the final result by tweaking the template and the poole.css file in the input directory. For more tips and tricks on using Poole, visit the project's website.
command not foundmy first question is if it matters whre in the bashrc file we put the export line. then after i tried putting it at the beginning and at the top, after i create the directory and go to it and type th command "export PATH=$PATH:~/poole" it says command not found.
Longtime litigator revives an ancient suit against IBM alleging Linux infringes on Unix copyrights.
Specialty distro keeps the focus on advanced learning.
The openSUSE Conference will be held July 18-22, 2013, at the Olympic Museum in Thessaloniki, Greece.
Security breached at home sites of the CMS project.
Lead Java developer vows policy changes and more attention to fixing problems.
Vendor D-Wave scores big with a sale to NASA's Quantum Intelligence Lab.
Many package updates and Steam integration highlight the latest from the Mandriva-based community Linux.
Richard Stallman calls for the W3C to remain independent of vendor interests.
The new release supports nine architectures, 73 human languages, and zero non-Free components.
Fedora developers release the first alpha version of Fedora 19, known as Schrödinger’s Cat, for general testing. The final release is expected in July 2013.