-
Notifications
You must be signed in to change notification settings - Fork 16
Optimize assistant #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
e69c022
update: optimize assistant, size, reference downloading and bump exam…
ItzNotABug 806aa9f
remove: LETS JUST SAVE THE 500MBs if we don't need the git folder.
ItzNotABug f71e4f1
update: more improvements.
ItzNotABug f72156b
update: tests, add sites.
ItzNotABug 8f07f40
update: well, there goes another 100MB from the build 🚀
ItzNotABug c9408ae
bump: tests.
ItzNotABug File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
34 changes: 34 additions & 0 deletions
34
tests/how-do-i-host-a-simple-static-website-with-appwrite.md
This file contains hidden or 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,34 @@ | ||
| To host a simple static website with Appwrite, you can follow these steps: | ||
|
|
||
| 1. **Create an Account and Project**: If you haven't already, create an account on Appwrite and create your first project. | ||
|
|
||
| 2. **Add a Platform**: In your project, go to **Add a platform** and add a **Web app**. Set the **Hostname** to `localhost` or the domain where you plan to host your web app. | ||
|
|
||
| 3. **Configure Your Site**: | ||
| - Navigate to your site in the Appwrite Console. | ||
| - Go to the **Settings** tab and then the **Build settings** section. | ||
| - Select the **Static site** checkbox. | ||
| - Ensure the appropriate install command, build command, and output directory are set. | ||
| - Provide a fallback file for advanced routing and proper page handling. | ||
|
|
||
| 4. **Deploy Your Site**: | ||
| - You can deploy your site manually by uploading the source code through the Appwrite Console. | ||
| - Alternatively, set up automatic deployments from a Git repository for continuous integration and delivery. | ||
|
|
||
| 5. **Redeploy**: After configuring, click on the **Update** button and redeploy your site. | ||
|
|
||
| 6. **Install Appwrite SDK (Optional)**: If you need to interact with Appwrite services, you can install the Appwrite Web SDK using a package manager: | ||
| ```sh | ||
| npm install appwrite@18.1.1 | ||
| ``` | ||
| Or add it via CDN: | ||
| ```html | ||
| <script src="https://cdn.jsdelivr.net/npm/appwrite@17.0.0"></script> | ||
| ``` | ||
|
|
||
| By following these steps, you can host and manage your static website directly within the Appwrite platform. | ||
|
|
||
| Sources: | ||
| - https://appwrite.io/docs/products/sites/rendering/static/ | ||
| - https://appwrite.io/docs/products/sites/deploy-manually/ | ||
| - https://appwrite.io/docs/quick-starts/web/ |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.