menu
Logo
  • Warum azing?
  • Blog
  • Hilfe
DEarrow_drop_down
  • DE
  • EN
Suche in Checklisten
search
azing Logo DEarrow_drop_down
  • DE
  • EN
  • Warum azing?
  • Hilfe
2sxc
drive_folder_upload
  • homeChecklisten-Vorlagen
  • south
  • fiber_manual_recordZ: Internal Stuff for the 2sxc-Dev Team
  • south

folder_sharedSetup Dev Environment

  • homeChecklisten-Vorlagen
  • south
  • fiber_manual_recordZ: Internal Stuff for the 2sxc-Dev Team
  • south

folder_sharedSetup Dev Environment

Ordner und Checklisten

  • folder_sharedJS Automation like Npm, Gulp, Grunt, Webpack
  • infoBuild Configuration Files in 2sxc 16+
  • check_circleSetup / Migrate to DNN 9.6.1 for Dev
  • check_circleSetup 2sxc Dev Web with DNN 9.13.1
  • check_circleSetup 2sxc Dev Web with Oqtane
  • check_circleSetup 2sxc-Inpage for Development
  • infoxxx - Environment Variable for Target DNN

Teile (0) expand_more

Teil-Dokumente werden als von anderen Checklisten wiederverwendet, sind aber nicht geeignet als Einstieg in eine Tätigkeit. Deshalb erscheinen sie weiter unten. Die Suche wird diese auch nicht anzeigen, ausser man sucht explizit nach Teilen. 

This describes how the configuration files work in building 2sxc.

It's meant for 2sxc 16.04 and is currently under development. 

Basics

There are two special json files:

  1. 2sxc-build.config.json - this file does not exist by default, since it shouldn't be checked into github. It is explicitly excluded for git, as you could/should create it yourself, typically based on the 2sxc-build-template.config.json. 
  2. 2sxc-build-fallback.config.json - this is the fallback (think default-if-main-file-doesn't-exist) build configuration and will typically result in building the solution to the local /dist folder (or ??? for .net code)

These files contain zero or more paths to deploy the build result, such as

  • JavaScript targets (eg. the C:\Projects\2sxc\2sxc-dnn9113\Website\DesktopModules\ToSIC_SexyContent\dist)
  • Dnn/Evoq website targets (eg. C:/Projects/2sxc/Website/)
  • Oqtane website targets
  • Public JS Source-Maps targets

File Contents

{
"JsTargets": [
"c:/projects/2sxc/2sxc-dnn9113/Website/DesktopModules/ToSic_SexyContent"
],
"DnnTargets": [
"c:/projects/2sxc/2sxc-dnn9113/Website",
"c:/projects/2sxc/2sxc-evoq9113/Website"
],
"OqtaneTargets": [],
"Sources": [
"c:/Projects/2sxc/2sxc-sources"
]
}

Tips / Conventions

  • The 2sxc-build.config.json  file is local to your system, and should never be pushed to github.
  • For folders, always use forward slashes - c:\Projects 👎🏽; c:/projects 👍🏽 
  • Always use full folders and not relative paths.
  • Always end the path without as slash as one will be added by build
  • All nodes are always arrays so you can add many targets

File Location

The build systems in .net and JS will search the directory tree starting from the current folder and going up till the root. This allows you to use one single config file for all projects at the same time, eg. in this structure:

  1. C:/Projects/2sxc
    1. 2sxc-build.config.json - the config file which affects all builds
    2. 2sxc-ui - the JS code for 2sxc
      1. 2sxc-build.config.json - a config file which only affects 2sxc-ui
    3. 2sxc - the .net code for 2sxc
    4. eav-server - the .net code for EAV
    5. eav-ui - the JS code for the EAV UIs
    6. 2sxc-docs - the git repo with the docs
    7. 2sxc-sources - the git repo which is used to publish JS Source Maps
    8. ...

 

Logo
Rechtliches | Inhalts-Copyright CC-BY 4.0
bug_reportFehler melden
  • info
  • Links
  • Rechte
code Teilen
code
URL in Zwischenablage kopiert.
Checkliste einbetten close
Kopieren Kopieren
Inhalts-Copyright

CC-BY 4.0

Übersetzungen

Keine

2sxc - Content Management for DNN & Oqtane Logo

2sxc - Content Management for DNN & Oqtane

QR-Code
azing.org/2sxc/r/qzEuJ8f4
Anschauen & Verwenden

Öffentlich (nutzbar für jeden)

Bearbeiten & Verwalten

Standard (alle Mitglieder können bearbeiten)

Dieser Katalog verwendet ein einfaches Berechtigungsmodell, bei dem alle Mitglieder die selben Rechte haben. Für weitere Optionen, bitte Upgraden.

Hier siehst du die Beziehungen zwischen diesem Dokument und anderen.

Verwendet in (1)

Andere, die hierhin verweisen

  1. Setup 2sxc Dev Web with DNN 9.13.1
Verwendet diese (0)

Andere, die in diesem Dokument verwendet werden

Wie es verwendet wird

Die Kategoriesierung verändert das Verhalten des Dokuments.

Dies ist ein normales Dokument, es wird normal angezeigt und erscheint in der Suche.

Typ

Dies ist eine Information. Aufzählungen sind informativ und keine Checkboxen.

Haben Sie etwas zu sagen?

Kommentieren Sie, um eine Diskussion zu beginnen oder eine Notiz zu machen
send

Bitte einloggen um zu chatten.

close

Durchsuche ganz Azing