Giter VIP home page Giter VIP logo

splendidcrm / splendidcrm-community-core Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 102.97 MB

SplendidCRM Community Edition build on ASP.NET Core

Home Page: https://www.splendidcrm.com

License: GNU Affero General Public License v3.0

TSQL 66.70% Batchfile 0.01% JavaScript 0.02% TypeScript 20.97% HTML 0.15% SCSS 0.01% CSS 0.95% C# 11.19% ASP.NET 0.01% EJS 0.01% Dockerfile 0.01%
sql-server asp-net-core sqlserver c-sharp crm react typescript

splendidcrm-community-core's Introduction

SplendidCRM Community Core

Get Started

The quickest way to get started is to request our installer. The installer will do practically everything you need to get a SplendidCRM Community Core site up and running, with the exception of installing SQL Server Express. Or, you can download the latest from GitHub and build the app yourself.

You can also use Docker to get started. We have provided a composer file that will create an instance of SQL Server 2022 to get you going quickly.

Minimum Requirements

  1. Windows 10 or higher, Windows Server 2016 or higher.
  2. ASP.NET Core 5.0 Hosting Bundle. Download ASP.NET Core 5.0
  3. Visual Studio 2019 Community or higher. Download Visual Studio 2019
  4. SQL Server Express 2008 or higher. Download SQL Server Express 2019
  5. SQL Server Management Studio. Download SQL Server Management Studio 18.10
  6. Node version 16.20 for Windows 64-bit. Download Node 16.20
  7. Yarn version 1.22. Download using npm: "npm install --global yarn"

Using Docker

We have added this core build to Docker Hub at SplendidCRM Community on Docker.

Using the Installer

This is the same installer that we have been using for the last 15 years with our other SplendidCRM products. The goal of the installer is to do everything necessary to get the system running on whatever version of windows you are running. We typically include SQL Server Express with the installer to save you that step, but we have decided not to do that with this product. The app will do the following:

  1. Install all files for the app. This action is performed by the typical InstallShield app.
  2. Run SplendidCRM Configuration Wizard to configure Windows. This is where the real work is done.
  3. Install IIS if not already installed.
  4. Add IIS features that are required for the app.
  5. Install ASP.NET 5.0 Hosting Bundle.
  6. Add SplendidCRM application to IIS.
  7. Connect to the database. SQL Server can be remote or local, all that is important is that you can connect. You are responsible for creating the database and providing a SQL user with sufficient ownership access to create SQL objects.
  8. Create or update all tables, functions, views, procedures and/or data to run the app. InstallShield installer SplendidCRM Configuration Wizard

Building Yourself

When building yourself, please note that we prefer to build the ASP.NET code separately from the React code. We do this so that Visual Studio does not take too long to debug as it will attempt to build both every time something small changes. So, we have marked the React files as content and excluded them from the build in the Visual Studio project file.

ASP.NET Web Site Build

Building should be as simple as loading the SplendidApp.csproj project file into Visual Studio 2019 or higher. If this is the first time you are building the app, then you will need to use the NuGet package manager to download all required packages. We don't use a lot of packages, the following is the current list:

  1. Microsoft.AspNetCore.Authentication.Negotiate
  2. Microsoft.AspNetCore.Authentication.OpenIdConnect
  3. Microsoft.AspNetCore.SpaServices.Extensions
  4. Microsoft.Identity.Web
  5. System.Data.SqlClient
  6. MailKit
  7. SharpZipLib
  8. DocumentFormat.OpenXml

React Build

We recommend that you use yarn to bulid the React files. We are currently using version 1.22, npm version 6.14 adn node 16.20. These versions can be important as newer versions can have build failures. The first time you build, you will need to have yarn install all packages.

yarn install

Then you can build the app.

yarn build

The result will be the file React\dist\js\SteviaCRM.js

SQL Build

The SQL Scripts folder contains all the code to create or update a database to the current level. The Build.bat file is designed to create a single Build.sql file that combines all the SQL code into a single Build.sql file. If this is the first time you are building the database, you will need to create the SQL database yourself and define a SQL user that has ownership access. We have designed the SQL scripts to be run to upgrade any existing database to the current level. In addition, we designed the SQL scripts to be run over and over again, without any errors. We encourage you to continue this design. It includes data modifications that are designed to only be applied once. The basic logic is to check if the operation needs to occur before performing the acction.

if ( condition to test ) begin -- then operation to perform end -- if;

If you are wondering why we use "begin -- then" and "end -- if;" instead of simply "begin" and "end", it is so that we can more easily convert the code to support the Oracle PL/SQL format.

splendidcrm-community-core's People

Contributors

splendidcrm avatar

Stargazers

 avatar

Watchers

 avatar  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.