mirror of
https://github.com/TixieSalander/tixie.name.git
synced 2026-04-17 15:55:10 +00:00
- SCSS 58.2%
- HTML 36.4%
- JavaScript 5.4%
|
|
||
|---|---|---|
| assets | ||
| content | ||
| layouts | ||
| static | ||
| .gitignore | ||
| .hugo_build.lock | ||
| .postcssrc | ||
| .woodpecker.yaml | ||
| deuxfleurs.toml | ||
| hugo.toml | ||
| LICENSE | ||
| netlify.toml | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| server.js | ||
| stylelint.config.js | ||
Tixie.name
Code of https://tixie.name
Project setup
Install hugo
Launch dev server
hugo server
Build for production
hugo --baseURL $URL
As it $URL is an env variable but you can harcode it in the build command.
Use DecapCMS in local mode
This website use Decap backoffice to manage albums easily. And it's possible to use it while working in local:
Install JS dependencies
npm i (or npm ci if you don't want to impact the package-lock)
Run local API
- Uncomment
local_backend: truein admin/config.yml (remember to not commit this change) - While running development hugo server launch this command in another terminal:
npx decap-server
Admin your website in local
Go to you website's local url + /admin (by default it's http://localhost:1313/admin). Enjoy!
Credits
License
- My logo and blog posts (images included) are under Creative Commons BY-NC-SA, except other folks showcased work who belong to their respective owners.
- Code (except the libraries I'm using) is under “I'm so tired” 1.0 license. Please take the time to read and check if you're allowed to use it before doing so. (Thank you luna who made it [source].)