fluentcms / FluentCMS

ASP.NET Core Blazor Content Management System (CMS)
https://fluentcms.com
MIT License
202 stars 39 forks source link

How to run this project #2279

Open itiwant opened 9 hours ago

itiwant commented 9 hours ago

I can't Installation this project by follow your guidline image

pournasserian commented 5 hours ago

@itiwant it seems that you have setup the project and created the db. It will automatically install all required records and configure the appsettings.json file. After setup, the api key in appsettings.json will be added.

The above exception may happen if you already have the db initialized, but the api key is not valid.

Would you explain more about your steps to reproduce that?

Which db are you using?

itiwant commented 5 hours ago

Hi @pournasserian, I downloaded the code and then opened it with visual studio. When I ran it, the setup page interface appeared. Then I entered the password and got an error. Then I ran it again by going to the FluentCMS/src/FluentCMS/folder and running dotnet run and got the above error.

pournasserian commented 4 hours ago

@itiwant thanks. You are right. When you want to start the setup process, nothing exists on DB. In the process of setup, we need to create the admin user. If the password or username does not meet the requirements, it will raise exception and the setup process won't be completed and you should delete the db and start again.

I will add the validation in setup to avoid that. See this: https://github.com/fluentcms/FluentCMS/issues/2287

pournasserian commented 4 hours ago

@itiwant that should be resolved. Please get the latest version, delete your db file, and run the project again.

Let me know if you have any issue.