Giter Site home page Giter Site logo

flow-manager's Introduction

Built with pwa�starter�kit

Build status

 

Flow - Manager

This project is used to any graph or flow-chart in a visual and live method.

 

Technologies:

 

accessibility text   accessibility text   accessibility text   accessibility text    accessibility text   accessibility text

 

 

Installation


npm install

 

Build


npm run build

 

Start - Development


npm start

 

Start - Production


npm run start:prod

 

Enviroment Variables

.env.example file
SERVER_PATH - web Api to get and save items

PUBLIC_PATH - webpack needs the trailing slash for output

REFRESH_INTERVAL - refresh graph every X ms, if equals to 0 auto refresh is disabled

 

 

Forked From:

Head over to the documentation site for more details or check out how to get started!

 

 

IIS Installation

For support IIS hosting build folder should include web.config file with "Static File Module"

definitions.

Create a new web site which directed to dist folder created after 'Build' script or copy

it content to your directory (web site shuold be on default without any virtual directory).

Also for support SPA routing web config should use "rewrite" rules and IIS extension

should be installed.

for more information: https://www.mattburkedev.com/iis-rewrite-rule-for-single-page-apps/

extension url: https://www.iis.net/downloads/microsoft/url-rewrite#additionalDownloads.

 

Web.Config - Example

<configuration>
	<system.webServer>
		<handlers>
			<clear />
			<add 
                name="StaticFile" 
                path="*" verb="*" 
                modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" 
                resourceType="Either" 
                requireAccess="Read" />
		</handlers>
		<staticContent>
			<mimeMap fileExtension=".*" mimeType="application/octet-stream" />
		</staticContent>
		<rewrite>
			<rules>
				<rule name="SPA Routes" stopProcessing="true">
					<!-- match everything by default -->
					<match url=".*" />
					<conditions logicalGrouping="MatchAll">
						<!-- unless its a file -->
						<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
						<!-- or a directory -->
						<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
						<!-- or is under the /api directory -->
						<add input="{REQUEST_URI}" pattern="^/(api)" negate="true" />
						<!-- list other routes or route prefixes here if you need to handle them server side -->
					</conditions>
					<!-- rewrite it to /index.html -->
					<action type="Rewrite" url="/index.html" />
				</rule>
			</rules>
		</rewrite>
	</system.webServer>
</configuration>

flow-manager's People

Contributors

motke84 avatar

Watchers

James Cloos 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.