Skip to content

Commit

Permalink
Updates the building instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
jonwagner committed Jan 2, 2018
1 parent 08c8052 commit 9458a9f
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 96 deletions.
41 changes: 41 additions & 0 deletions Building.md
@@ -0,0 +1,41 @@
Notes for Building Insight
===============================================

Now with Insight 6.0, we DO support .NET Core and no longer support databases that require funky driver installs.
It makes it a lot easier.


# Docker for Test Databases #

You can run all of the supported databases through docker:

cd insight-docker
.\docker-env.bat # windows
source ./docker-env.bat # non-windows
docker-compose up

It takes a while the first time, so wait until all of the databases boot up fully.

NOTE: `docker-env` will set the `INSIGHT_TEST_HOST` and `INSIGHT_TEST_PASSWORD` environment variables. You'll need them
for any process that is running the tests and needs to connect to the database.

# Command-Line Builds #

On Windows, you can use the powershell scripts in the root folder:

./build.ps1 build
./build.ps1 test
./build.ps1 package

On non-Windows, you can use the `dotnet build` and `dotnet test` command for anything you want to build and run.
You'll want to specify the framework with `-f <framework>` so you don't try to build frameworks that you don't have.

dotnet build Insight.Database/Insight.Database.csproj -f netstandard2.0
dotnet test Insight.Tests/Insight.Tests.csproj -f netcoreapp2.0

# Tagging a Version #

1. Update the version number in SharedConfiguration.csproj.
2. Use `git tag <version>` to mark the changeset.
3. `build package` to make the build.
4. `git push --tags` to push the tags to the server.
96 changes: 0 additions & 96 deletions Building.txt

This file was deleted.

0 comments on commit 9458a9f

Please sign in to comment.