btakita.github.io
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
briantakita.com
ctx-core @ 618d12a
layout
pages
posts.html
posts
private/dist
public
.env
.envrc
.gitignore
.gitmodules
.jshintrc
.nvmrc
Makefile
config.json
package.json
readme.md
rollup.json
todo.md
yarn.lock

readme.md

btakita.github.io

www.briantakita.com site

See http://www.briantakita.com/posts/monorepo-static-sites-using-sveltejs-rollup-bash/

Installation

git clone https://github.com/btakita/btakita.github.io.git
git submodule init
git submodule update

I recommend using direnv.

Development

Open a console & run each of the following scripts in it's own tab:

bin/ensure-watch.sh

bin/ensure-watch.sh # Yes call it a second time

bin/ensure-server.sh

By default, server is run on http://localhost:3111

pages/build.pages.js

This module builds all of the static pages on briantakita.com. Using buble makes it easy create a parallelized build while avoiding callback hell. The advantage of not using a build tool such as grunt, is it's easier to utilize existing libraries & to reduce accidental complexity.

Deployment

make