Skip to content
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

How to login #29

Open
waelHamed opened this issue Jan 6, 2016 · 6 comments
Open

How to login #29

waelHamed opened this issue Jan 6, 2016 · 6 comments
Assignees
Labels
TBD Tasks to be done

Comments

@waelHamed
Copy link

Hi I downloaded openCRM but I can't log in , can any one tell me how to login for the first time plz

@briandiaz
Copy link
Owner

Hi @maskspy

First of all you will need to create your Database (remember is Entity Framework).
Then add its credentials to the App.config file by replacing this line

<connectionStrings>
    <add name="OpenCRMEntities" connectionString="metadata=res://*/DataBase.OpenCRMDataModel.csdl|res://*/DataBase.OpenCRMDataModel.ssdl|res://*/DataBase.OpenCRMDataModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=opencrm.ccgscvmg474t.us-east-1.rds.amazonaws.com,1433;initial catalog=OpenCRM;user id=OpenCRM;password=opencrm1234;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  </connectionStrings>

In the folder SQL Scripts are all the tables needed for the app to run.
After you have done the previous tasks you must create your users.

@TonyWoo
Copy link

TonyWoo commented May 31, 2018

@briandiaz do you have any seed data? I also cannot login, but after insert a user to the user table, I can login. but it look missing some seed data, I cannot see any menus
image

@briandiaz briandiaz reopened this May 31, 2018
@briandiaz
Copy link
Owner

Hey @TonyWoo

Yes seeds data needs to be added in the project. In a near future there will be a SQL file so you guys can use it to run the project correctly.

Thanks

@briandiaz briandiaz added the TBD Tasks to be done label May 31, 2018
@briandiaz briandiaz self-assigned this May 31, 2018
@islam9090
Copy link

Hello, What you mean by seeds data ?! Could you provide the SQL file with demo data.

@matrixlea
Copy link

and so ,how to create users ? the object name"dbo.user" is invalid.
insert into dbo.User (UserId,UserName,HashPassword) values('0001','szkj','szkj123456');

Sorry ,I'm new here. I hope to learn a lot in this project. And English is not good either.

@qldevteam
Copy link

I've created user but ,I d'not know how to make a password

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TBD Tasks to be done
Projects
None yet
Development

No branches or pull requests

6 participants