-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Remove Redis config on startup template #5023
Comments
Line 44 in 9bfaede
|
so I guess it should be documented to install redis, and launching this project will load for 60 seconds until it times out. |
Which document? |
OK. I will update the document. Thanks. |
For others to know how to install redis on Windows. To install Redis on your local machine:
|
I don't think it is necessary. Developers should know how to configure the development environment(like install redis.) |
Maybe in addition to documenting Redis as a pre requirement, also add redis to the module template docker files? So by default this (all?) requirements are met when starting the docker containers for development. |
Why do we have to have Redis on development environment? Can we enable it for production only instead? Edit: Okay, @realLiangshiwei would you be able to update the docs to include a link to memurai for Windows users? Maybe this is an alternative to switching it off on dev. Also, how long has the startup template had redis included? My project was created back in abp v0.21 and this seems to have slipped through until now! 🤦 |
Can not be used for production only, there will be inconsistent cache problems. And I don't think installing Redis is a problem, developers should know this knowledge |
use this |
so crazy that without a redis, you can even not make a bookstore. - -! |
No, you can do. Just don't use a tiered solution for MVC (or don't use separate IDS for angular). In this way you will have a single server side application and you don't need to a distributed cache in development. If you want to separate them, there will be two server applications and somehow they should use a shared cache. This is why the such a tiered startup template requires redis. Otherwise, you will have inconsistent caches between applications. It is just that simple. What's the problem here? |
haha, i just say redis now is more than why it is created. |
For the "windows fan" looking for the redis.msi installer: https://github.com/microsoftarchive/redis/releases Everything works 100% after installing Redis. Thank you @buaziz / @hikalkan |
host folder in startup template assumes redis configuration which results in below error on launching HostAPI and Identity Server projects individually.
abp/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/appsettings.json
Lines 9 to 11 in 9bfaede
Error text:
The text was updated successfully, but these errors were encountered: