Skip to content

Commit

Permalink
readme: book status, description and local build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalli-johnny committed Feb 12, 2024
1 parent f7e0d42 commit 46f7754
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
- dev: CNAME for custom GitHub pages domain
- intro: standard sponsor message
- post: essential tools for clojure development
- readme: book status, description and local build steps
104 changes: 102 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,108 @@
# Practicalli Software Development Blog
# Practicalli Software Development

A series of articles covering a practical approach to software development practices and tooling.
Software development guides with a focus on the Clojure programming language, using Clojure CLI and a wide range of community tools for a REPL focused workflow.

[![Built with Material for MkDocs](https://img.shields.io/badge/Material_for_MkDocs-526CFE?style=for-the-badge&logo=MaterialForMkDocs&logoColor=white)](https://squidfunk.github.io/mkdocs-material/)


```none
██████╗ ██████╗ █████╗ ██████╗████████╗██╗ ██████╗ █████╗ ██╗ ██╗ ██╗
██╔══██╗██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██║██╔════╝██╔══██╗██║ ██║ ██║
██████╔╝██████╔╝███████║██║ ██║ ██║██║ ███████║██║ ██║ ██║
██╔═══╝ ██╔══██╗██╔══██║██║ ██║ ██║██║ ██╔══██║██║ ██║ ██║
██║ ██║ ██║██║ ██║╚██████╗ ██║ ██║╚██████╗██║ ██║███████╗███████╗██║
╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚══════╝╚═╝
```


## Status

[![MegaLinter](https://github.com/practicalli/practical.li/actions/workflows/megalinter.yaml/badge.svg)](https://github.com/practicalli/practical.li/actions/workflows/megalinter.yaml)[![Publish Book](https://github.com/practicalli/practical.li/actions/workflows/publish-book.yaml/badge.svg)](https://github.com/practicalli/practical.li/actions/workflows/publish-book.yaml)
[![Publish Book](https://github.com/practicalli/practical.li/actions/workflows/publish-book.yaml/badge.svg)](https://github.com/practicalli/practical.li/actions/workflows/publish-book.yaml)
[![pages-build-deployment](https://github.com/practicalli/practical.li/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/practicalli/practical.li/actions/workflows/pages/pages-build-deployment)

[![Ideas & Issues](https://img.shields.io/github/issues/practicalli/practical.li?label=content%20ideas%20and%20issues&logoColor=green&style=for-the-badge)](https://github.com/practical.li/clojure/issues)
[![Pull requests](https://img.shields.io/github/issues-pr/practicalli/practical.li?style=for-the-badge)](https://github.com/practicalli/practical.li/pulls)

![GitHub commit activity](https://img.shields.io/github/commit-activity/m/practicalli/practical.li?style=for-the-badge)
![GitHub contributors](https://img.shields.io/github/contributors/practicalli/practical.li?style=for-the-badge&label=github%20contributors)

## Creative commons license

<div style="width:95%; margin:auto;">
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a>
This work is licensed under a Creative Commons Attribution 4.0 ShareAlike License (including images & stylesheets).
</div>

## Contributing

Issues and pull requests are most welcome although it is the maintainers discression as to if they are applicable. Please detail issues as much as you can. Pull requests are simpler to work with when they are specific to a page or at most a section. The smaller the change the quicker it is to review and merge.

Please read the [detailed contributing section of the book](https://practical.li/contributing/) before raising an issue or pull request to avoid disapointment.

* [Current Issues](https://github.com/practicalli/practical.li/issues)
* [Current pull requests](https://github.com/practicalli/practical.li/pulls)

By submitting content ideas and corrections you are agreeing they can be used in any work by Practicalli under the [Creative Commons Attribution ShareAlike 4.0 International license](https://creativecommons.org/licenses/by-sa/4.0/). Attribution will be detailed via [GitHub contributors](https://github.com/practicalli/practical.li/graphs/contributors).

## Sponsor Practicalli

[![Sponsor Practicalli via GitHub](https://raw.githubusercontent.com/practicalli/graphic-design/live/buttons/practicalli-github-sponsors-button.png)](https://github.com/sponsors/practicalli-johnny/)

All sponsorship funds are used to support the continued development of [Practicalli series of books and videos](https://practical.li/), although most work is done at personal cost and time.

Thanks to [Cognitect](https://www.cognitect.com/), [Nubank](https://nubank.com.br/) and a wide range of other [sponsors](https://github.com/sponsors/practicalli-johnny#sponsors) for your continued support


## GitHub Actions

The megalinter GitHub actions will run when a pull request is created,checking basic markdown syntax.

A review of the change will be carried out by the Practicalli team and the PR merged if the change is acceptable.

The Publish Book GitHub action will run when PR's are merged into main (or the Practicalli team pushes changes to the default branch).

Publish book workflow installs Material for MkDocs version 9


## Local development

Install mkdocs version 9 using the Python pip package manager

```bash
pip install mkdocs-material=="9.5"
```

Install the plugins used by the Practicalli site using Pip (these are also installed in the GitHub Action workflow)

```bash
pip3 install mkdocs-material mkdocs-callouts mkdocs-glightbox mkdocs-git-revision-date-localized-plugin mkdocs-redirects pillow cairosvg mkdocs-rss-plugin
```

> pillow and cairosvg python packages are required for [Social Cards](https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/)
> mkdocs-rss-plugin is used to create an RSS feed from blog posts

Fork the GitHub repository and clone that fork to your computer,

```bash
git clone https://github.com/<your-github-account>/<repository>.git
```

Run a local server from the root of the cloned project

```bash
make docs
```

The website will open at <http://localhost:8000>

If making smaller changes, then only rebuild the content that changes, speeding up the local development process
```bash
make docs-changed
```

## Material for MkDocs Commands

* `mkdocs new [dir-name]` - Create a new project.
Expand All @@ -18,3 +116,5 @@ A series of articles covering a practical approach to software development pract
docs/
index.md # The documentation homepage.
... # Other markdown pages, images and other files.


0 comments on commit 46f7754

Please sign in to comment.