Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/pdgonzalez872/pdgonzalez872.github.io

Paulo's blog (Phoenix + Tailwind -> Static Github Pages)
https://github.com/pdgonzalez872/pdgonzalez872.github.io

Last synced: about 1 month ago
JSON representation

Paulo's blog (Phoenix + Tailwind -> Static Github Pages)

Awesome Lists containing this project

README

        

# PgBlog

My turn to overengineer a blog. Even though this is a Phoenix app, this is not
a Phoenix app. I only use it to generate html that works nicely with Tailwind
so I could use Github Pages to host it.

Views here are my own.

## Build

```sh
./build.sh
```

## dev server to test the /docs directory

```elixir
elixir server.exs

# or do both at the same time:
./build.sh && elixir server.exs
```

And visit `http://localhost:4001/index.html`

## dev server while writing the posts

```elixir
mix phx.server
```

## Using Github pages

I have the repo configured to serve files from `/docs`, so that's where I put
the files we generate. Run the build script every time before pushing and
things should work :)