Addes travis and README
This commit is contained in:
9
.travis.yml
Normal file
9
.travis.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
language: csharp
|
||||
mono: none
|
||||
dotnet: 2.2.0
|
||||
|
||||
install:
|
||||
- dotnet restore
|
||||
|
||||
script:
|
||||
- dotnet build
|
6
README
6
README
@@ -1,6 +0,0 @@
|
||||
|
||||
`set dbconnection="Server=localhost;Database=eventbot;User=root;Password=password;"`
|
||||
|
||||
|
||||
`Add-Migration InitialDatabase -Context MySqlDatabaseService -OutputDir Migrations\MySql`
|
||||
`Add-Migration InitialDatabase -Context SqliteDatabaseService -OutputDir Migrations\Sqlite`
|
13
README.md
Normal file
13
README.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# EventBot
|
||||
|
||||
## Environment variables
|
||||
### `token` variable
|
||||
This is variable for discord bot's token obtained from discord developer panel.
|
||||
### `dbconnection` variable
|
||||
This is environment variable for Mysql / MariaDb database connection. Example connection string:
|
||||
|
||||
```Server=localhost,123;Database=eventbot;User=root;Password=password;```
|
||||
|
||||
|
||||
`Add-Migration InitialDatabase -Context MySqlDatabaseService -OutputDir Migrations\MySql`
|
||||
`Add-Migration InitialDatabase -Context SqliteDatabaseService -OutputDir Migrations\Sqlite`
|
Reference in New Issue
Block a user