Giter Club home page Giter Club logo

readblob's Introduction

*** Read Blob README ***

--- If Running Server Locally on a Mac ---

  • There is an issue with TLS on Macs (mentioned in code comments) and additional configuration is required
  • Navigate to ReadBlobServer Project -> Program.cs -> Main method
    1. Comment out the CreateHostBuilder call
    2. Uncomment the CreateHostBuilderNoTLS call
  • When creating the docker container, the original non-Mac configuration must be used

--- Everything was designed to run on http://localhost:5001 ---

  • If desired, there are 3 places in code to change the 5001 port
    1. ReadBlobServer Project -> Properties Folder -> launchSettings.json -> applicationUrl variable
    2. ReadBlobServer Project -> Program.cs -> CreateHostBuilderNoTLS(string[] args) method
    3. FunctionalTest Project -> ClientFunctionalTest.cs -> Address variable

--- To Run Server Locally ---

  • From terminal/cmd
    • Navigate into the ReadBlobServer folder and run the following commands
      1. dotnet build
      2. dotnet run
  • Run within IDE

--- Docker ---

  • In terminal/cmd navigate to ReadBlobServer folder
  • Create image (feel free to change the name)
    • docker build -t readblobimg .
  • Create and run the container (also feel free to change the name and/or port here)
    • docker run -d -p 5001:80 --name readblobcon readblobimg
    • If changing the port, make sure to change the port for the functional test (see above)

--- Tests ---

  • Functional test can be run anytime the server is running locally or on a docker container (just ensure ports match)
  • Unit tests can be run at anytime
  • Integration tests can be run at anytime

readblob's People

Contributors

nathanfranz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.