Skip to content

1036553761/POYA

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English 中文
Hello, here is POYA project, I'm Larry
❤ Welcome!! ❤

In fact, my definition of this project is vague, but I have implemented the function of file storage and article publishing in the project, and I would like to add many functions in the future. If you like my project and want to contribute your code (succinctly) >_

null


This is a C#/.NET Core MVC project
(I'm a beginner, bored and uninterested? Actually, it's easy)
. . . , There should be a lot of things to write here, I don't write it much😅, I think you must know a lot more than I do

0


Rename the appsettings.json.text file (where?) to appsettings.json after git clone it
The contents of appsettings.json are:

{
  "ConnectionStrings": { 
    "DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=aspnet-POYA-0E28E843-176D-49F3-9739-6D5E6F1BC3F5;Trusted_Connection=True;MultipleActiveResultSets=true"
  },
  "Logging": {
    "LogLevel": {
      "Default": "Warning"
    }
  },
  "AllowedHosts": "*",
  "EmailSender": {
    "userName": "xxxxxx@xxxxxxxx.xxxx",
    "host": "xxxxxx.xxxxx.xxxx",
    "password": "xxxxx",
    "port": 00,
    "enableSsl": false
  },
  "ErrorLogHandle": {
    "ReceiveLogEmailAddress": "xxxxxxx@xxx.xxx"
  }
} 

DefaultConnection >_ The connection string of database, the above is the connection string of the MSSQL, the connection string is "Data Source=app.db" if you use SQLite. You can customize your connection string and modify services.AddDbContext in Startup.cs file accordingly
EmailSender>_ It is the configuration of the mail service(you need to change its value in order to the project to work properly), it plays a key role in user registration and user receiving notifications
ReceiveLogEmailAddress This e-mail address is used to receive error messages

1(inessential)


You can try it after your appsettings.json is 👌 >_
dotnet build
dotnet run

2(succinctly)

#ps1
cd yourdir
git clone https://github.com/1arrywei/POYA.git
cd POYA
cd POYA
rename appsettings.json.txt appsettings.json
#modify appsettings.json
dotnet build
dotnet run

. . .


Copyright (c) 2019 Larry Wei
Licensed under the MIT License

About

Your storage service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 95.5%
  • CSS 4.3%
  • Other 0.2%