Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/indiv0/frecency.com
https://github.com/indiv0/frecency.com
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/indiv0/frecency.com
- Owner: indiv0
- License: gpl-3.0
- Created: 2020-10-26T19:44:26.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-15T23:45:09.000Z (about 4 years ago)
- Last Synced: 2024-10-29T19:04:34.743Z (about 2 months ago)
- Language: HTML
- Size: 136 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# frecency.com
## QuickstartInstall the prerequisites: `yarn` and `docker`.
Install TailwindCSS.
```sh
yarn install
```Compile the styles.
```sh
NODE_ENV=production yarn run tailwindcss build style.css -o static/style.css
```Build the docker container containing `zola`:
```sh
docker build -t zola .
```Run a `zola` server to serve the website during development:
```sh
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:
```sh
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/
```