diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ce1b85a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: csharp +mono: none +dotnet: 2.2.0 + +install: +- dotnet restore + +script: + - dotnet build \ No newline at end of file diff --git a/README b/README deleted file mode 100644 index 7e6de9b..0000000 --- a/README +++ /dev/null @@ -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` \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..2cda7e6 --- /dev/null +++ b/README.md @@ -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` \ No newline at end of file