Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaronoff97/blog
This is the *new* repository for my personal site
https://github.com/jaronoff97/blog
Last synced: 8 days ago
JSON representation
This is the *new* repository for my personal site
- Host: GitHub
- URL: https://github.com/jaronoff97/blog
- Owner: jaronoff97
- License: mit
- Created: 2019-06-15T22:10:13.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-06-21T03:06:09.000Z (6 months ago)
- Last Synced: 2024-10-28T15:48:27.312Z (about 2 months ago)
- Language: MDX
- Homepage: https://jaronoff.com
- Size: 126 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jacob's Blog
This blog is forked from [timlrx/tailwind-nextjs-starter-blog](https://GitHub.com/timlrx/tailwind-nextjs-starter-blog/stargazers/) with very minor modifications.
**Static hosting services / GitHub Pages / S3 / Firebase etc.**
1. Add `output: 'export'` in `next.config.js`. See [static exports documentation](https://nextjs.org/docs/app/building-your-application/deploying/static-exports#configuration) for more information.
2. Comment out `headers()` from `next.config.js`.
3. Add `unoptimized: true` to the `images` key in `next.config.js`:Alternatively, to continue using `next/image`, you can use an alternative image optimization provider such as Imgix, Cloudinary or Akamai. See [image optimization documentation](https://nextjs.org/docs/app/building-your-application/deploying/static-exports#image-optimization) for more details.
4. Remove `api` folder and components which call the server-side function such as the Newsletter component. Not technically required and the site will build successfully, but the APIs cannot be used as they are server-side functions.
5. Run `yarn build`. The generated static content is in the `out` folder.
6. Deploy the `out` folder to your hosting service of choice or run `npx serve out` to view the website locally.**Note**: Deploying on Github pages require addition modifications to the base path. Please refer to the FAQ for more information.
## Licence
[MIT](https://github.com/timlrx/tailwind-nextjs-starter-blog/blob/main/LICENSE) © [Timothy Lin](https://www.timlrx.com)