# POYA
**Repository Path**: larryw3i/POYA
## Basic Information
- **Project Name**: POYA
- **Description**: Open Source Project of Larry, Make it easy for you to make a cloud storage service
- **Primary Language**: C#
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2019-02-25
- **Last Updated**: 2022-06-13
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
English 中文
**Hello, here is POYA project, I'm Larry Wei**
**❤ 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](https://docs.microsoft.com/en-us/aspnet/?view=aspnetcore-2.2#pivot=core "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**
>(where?)
> file to **appsettings.json** after **git clone** it
The contents of **appsettings.json** are:
```json
{
"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@xxxxxx.xxx",
"host": "xxxxxx.xxxxxx.xxx",
"password": "xxxxxx",
"port": "xx"
},
"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)
```powershell
#ps1
cd yourdir
git clone https://github.com/linghuchong123/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