-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b5aade
commit 4383dbf
Showing
42 changed files
with
7,764 additions
and
11,455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
PUBLIC_APPWRITE_ENDPOINT=YOUR_ENDPOINT | ||
PUBLIC_APPWRITE_PROJECT_ID=YOUR_PROJECT_ID | ||
|
||
PUBLIC_APPWRITE_DB_ID=YOUR_DATABASE_ID | ||
PUBLIC_APPWRITE_POSTS_ID=YOUR_POSTS_COLLECTION_ID | ||
PUBLIC_APPWRITE_COMMENTS_ID=YOUR_COMMENTS_COLLECTION_ID | ||
PUBLIC_APPWRITE_BUCKET_ID=YOUR_BUCKET_ID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,24 @@ | ||
# build output | ||
dist | ||
|
||
# dependencies | ||
node_modules/ | ||
|
||
# logs | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# environment variables | ||
.env | ||
.env.production | ||
|
||
# macOS-specific files | ||
.DS_Store | ||
# build output | ||
dist/ | ||
# generated types | ||
.astro/ | ||
|
||
# dependencies | ||
node_modules/ | ||
|
||
# logs | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
|
||
# environment variables | ||
.env | ||
.env.production | ||
|
||
# macOS-specific files | ||
.DS_Store | ||
|
||
# appwrite directory | ||
appwrite/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"recommendations": ["astro-build.astro-vscode"], | ||
"unwantedRecommendations": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"command": "./node_modules/.bin/astro dev", | ||
"name": "Development server", | ||
"request": "launch", | ||
"type": "node-terminal" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
# 🙋♂️ Alex Justesen | ||
Hello, I'm Alex. I'm a web developer and data engineer at MassMutual by day and a keeper of too many projects by night. | ||
|
||
This repo is the open sourced code for [alexjustesen.com](https://alexjustesen.com). Feel free to clone it, fork it and make it yours. | ||
|
||
## Development | ||
1. Clone or fork the repo | ||
2. Run `npm install` then `npm run dev` to start the development server | ||
|
||
## Deployment | ||
1. Sign up for [Cloudflare Pages](https://pages.cloudflare.com/) | ||
2. Create a new site and link it to the repo | ||
3. The `main` branch is for production, all other branches will be deployed to preview environments | ||
4. Set the framework to `Astro` under build configurations | ||
5. Add environment variables for production and preview to set the node version | ||
- `NODE_VERSION` => `v16.13.2` | ||
- Version used needs to be `> v14.15.0` or `v16.0.0` per the [Astro docs](https://docs.astro.build/en/installation/) | ||
- If you don't know your local node version run `node -v` | ||
|
||
## Open Source | ||
- [Astro](https://astro.build/) | ||
- [Tailwindcss](https://tailwindcss.com/) | ||
# 🙋♂️ Alex Justesen | ||
|
||
Hello, I'm Alex. I'm a web developer and data engineer at MassMutual by day and a keeper of too many projects by night. | ||
|
||
This repo is the open sourced code for [alexjustesen.com](https://alexjustesen.com). Feel free to clone it, fork it and make it yours. | ||
|
||
Based on https://github.com/appwrite/demos-for-astro/tree/main/example-blog | ||
|
||
## Development | ||
|
||
1. Clone or fork the repo | ||
2. Run `npm install` then `npm run dev` to start the development server | ||
|
||
## Deployment | ||
|
||
tbd... this is going to need some new steps to get up and running. | ||
|
||
## Open Source | ||
|
||
- [Astro](https://astro.build/) | ||
- [Tailwindcss](https://tailwindcss.com/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Appwrite Docker command to get a local instance running | ||
docker run -it --rm \ | ||
--volume /var/run/docker.sock:/var/run/docker.sock \ | ||
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \ | ||
--entrypoint="install" \ | ||
appwrite/appwrite:1.3.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,11 @@ | ||
// Full Astro Configuration API Documentation: | ||
// https://docs.astro.build/reference/configuration-reference | ||
// @type-check enabled! | ||
// VSCode and other TypeScript-enabled text editors will provide auto-completion, | ||
// helpful tooltips, and warnings if your exported object is invalid. | ||
// You can disable this by removing "@ts-check" and `@type` comments below. | ||
// @ts-check | ||
import { defineConfig } from 'astro/config'; | ||
import preact from '@astrojs/preact'; | ||
import mdx from '@astrojs/mdx'; | ||
import robotsTxt from "astro-robots-txt"; | ||
import sitemap from "@astrojs/sitemap"; | ||
import sitemap from '@astrojs/sitemap'; | ||
import tailwind from "@astrojs/tailwind"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
site: 'https://alexjustesen.com/', | ||
|
||
integrations: [ | ||
preact(), | ||
sitemap(), | ||
tailwind(), | ||
robotsTxt() | ||
] | ||
site: 'https://alexjustesen.com', | ||
integrations: [mdx(), sitemap(), tailwind(), robotsTxt()] | ||
}); |
Oops, something went wrong.