-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add docs for hosting a static content #208
Conversation
Minor re-wording.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @AbegaM. I added some change requests.
docs/self-hosting.md
Outdated
|
||
In this guide, we will demonstrate how to host a static `React Admin` application. | ||
|
||
1. Create an `_extensions` folder within the `Soul` directory and add a file named `api.js`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The part within the Soul directory
needs to be removed as it's only applicable for those who build soul from source code.
docs/self-hosting.md
Outdated
|
||
5. Run your Soul application: | ||
```sh | ||
npm run dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also this part is better to be changed to:
soul -d foobar.db --extensions /path/to/_extensions/
README.md
Outdated
@@ -168,6 +168,10 @@ npm run dev # Start the dev server | |||
|
|||
Make sure to replace the placeholders with the appropriate values for your environment. | |||
|
|||
## Hosting Static Content Using Soul | |||
|
|||
You can host static content using Soul by utilizing its extensions feature. This allows you to expose your static application through Soul, enabling users to access your content without hosting multiple applications. please check [this](./docs//self-hosting.md) document |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The link to self-hosting.md
is broken, it has two slashes.
docs/self-hosting.md
Outdated
|
||
**Accessing a React Admin Application via Soul** | ||
|
||
![soul RA app](../assets//images//soul-RA-app.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also here the slashes are doubled.
Hello @thevahidal, I have pushed some fixes, please review them and let me know if there is any other thing to fix. |
Fixes #207
Modifications