An open API service indexing awesome lists of open source software.

https://github.com/danasilver/danasilver.github.io


https://github.com/danasilver/danasilver.github.io

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

## danasilver.org

The development repository for [www.danasilver.org](https://www.danasilver.org).

### Develop

Activate a [venv](https://docs.python.org/3/library/venv.html):

```sh
. venv/bin/activate
```

Install the requirements to build the site:

```sh
pip install -r requirements.txt
```

The site is templated with [Jinja2](http://jinja.pocoo.org/) and generated using
[staticjinja](https://staticjinja.readthedocs.io/en/latest/). Build the site with:

```sh
python3 build.py
```

The generated site is in `_site/`.

Run an HTTP server from that directory for a preview:

```sh
python3 -m http.server
```

And open http://localhost:8000 to view the rendered site.

### Deploy

Push to master to deploy.

#### How Deployment Works

Push to master triggers a
[GitHub Action](https://github.com/danasilver/danasilver.github.io/actions/workflows/deploy-to-s3.yaml),
which builds the static site, uploads to S3, and invalidates the Cloudfront distribution.