Skip to content

indiv0/frecency.com

Repository files navigation

frecency.com

Quickstart

Install the prerequisites: yarn and docker.

Install TailwindCSS.

yarn install

Compile the styles.

NODE_ENV=production yarn run tailwindcss build style.css -o static/style.css

Build the docker container containing zola:

docker build -t zola .

Run a zola server to serve the website during development:

docker run --rm --name frecency.com\
    -v $(pwd)/config.toml:/app/config.toml\
    -v $(pwd)/content:/app/content\
    -v $(pwd)/static:/app/static\
    -v $(pwd)/templates:/app/templates\
    --publish 1111:1111 zola serve --interface 0.0.0.0

Build the website for publishing:

docker run --rm\
    -v $(pwd)/config.toml:/app/config.toml\
    -v $(pwd)/content:/app/content\
    -v $(pwd)/dist:/app/dist\
    -v $(pwd)/static:/app/static\
    -v $(pwd)/templates:/app/templates\
    zola build --output-dir dist/public

Deploy the website to S3:

aws s3 cp --recursive dist/public/ s3://frecency.com/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors