Ready to setup your location's website? Great!
Domain admins: currently Esther Nam and Lynn Root
警告
Please DO NOT purchase your own separate domain!
We will easily setup a subdomain on the pyladies.com
site for you (e.g. nyc.pyladies.com
). It's also possible if you'd prefer to use the pyladies.org
namespace (e.g. nyc.pyladies.org
). We can also do pyladies.com/nyc
or pyladies.org/nyc
too. Your choice!
If you are in a location that frequently uses other TLDs, e.g. .co.uk
, please contact our domain administrators listed above.
You have two options: a Static Website website, or a Dynamic Website website. Whichever you prefer! And you can switch over any time. It may be easier/quicker for you to start with a static website - then create a dynamic website when you have more time.
A static website is just HTML, CSS, and client-side JavaScript (exactly like the current www.pyladies.com
site is set up). It's great if you don't want a database or server-side logic; it's really easy to maintain.
There are plenty of PyLadies locations that have simple static websites. Here are a couple:
If you're interested in the various static website tools out there, check out Tools.
To setup your static website:
pyladies
folder of the repository (on the same directory level as www
and the other subdomains.)README.md
file that explains how to create the HTML files if you are using a static site generator (like here).pyladies/pyladies
repository.注釈
When making a pull request, please squash all your commits into one commit! We like a clean history! Here's a good how-to on git rebase to squash commits.
注釈
In your pull request - please include the desired subdomain namespace - e.g. nyc.pyladies.com
注釈
Be sure that the subdomain information in www/config.yml within the pyladies/pyladies repository matches the subdomain of your website! Lots of linking-magic goes on.
You can hand-write all your HTML files, but that's a bit of a pain. Here are a list of tools that can help create your static website for you:
mynt is a static site generator written in Python. This is the tool that the main PyLadies site - www.pyladies.com uses.
You write the content of your site in Markdown format, design the layout and organization of the site (e.g. how the content will be presented) using Jinja2 templates (another Python library), and edit/create your own themes with CSS. Running mynt gen
over your Markdown & CSS files and Jinja2 templates will create static HTML files that you can then view via the mynt serve
command.
Extremely similar to mynt, pelican is another static site generator written in Python. It's the same process - write in Markdown, organize via Jinja2 tempaltes, and edit your theme with CSS.
Pelican does offer a bigger user base than mynt, and therefore has many plugins and themes already setup to use.
Some others if you're curious:
It's totally okay to use a non-Python package(s) to help make your website. Here's a list of common & widely-used ones:
A dynamic website goes beyond simple HTML/CSS/JavaScript. A website written with Django or Flask is a dynamic website (and it's okay if you want to use a non-Python web framework, so long as it's supported by Heroku).
There are a few PyLadies locations that have built their own dynamic websites. Here are a couple:
If you're interested in the various dynamic website frameworks out there, check out Frameworks.
To setup your dynamic website:
pyladies.com
email address).