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 is the standard setup all 2sxc developers use. So to keep automation flowing, you need to do the same.

Basics for C# and/or JS

  1. Create the root for everything - we recommend c:\Projects\2sxc\.
  2. In this folder, open the terminal and run these git-clones (do both if you want full development setup)
  3. For C# development
    1. git clone https://github.com/2sic/2sxc (the core CMS parts)
    2. git clone https://github.com/2sic/eav-server (the EAV backend)
  4. For both C# and JS
    1. git clone https://github.com/2sic/2sxc-sources (the latest js builds)
  5. For JS Development
    1. git clone https://github.com/2sic/2sxc-ui (JS parts like the $2sxc)
    2. git clone https://github.com/2sic/eav-ui (main edit/admin UI)
  6. For Docs generation
    1. git clone https://github.com/2sic/2sxc-docs (the documentation)
  7. Configure the enviromment paths Build Configuration Files in 2sxc 16+

Setup DNN

  1. Install a DNN 9.6.1 (or newer) - we recommend to c:\projects\2sxc\2sxc-dnn961
    We recommend you do this using nvquicksite, but you can also do it manually if you are comfortable with that. 
    We also recommend that you use 9.6.1, as that's the minimum version we target, and we want to be sure you don't use a newer DNN API.
  2. Whatever domain you use doesn't matter
  3. Then install the latest 2sxc from the releases

Setup Oqtane

  1. Run Oqtane
  2. Run 2sxc on Oqtane 

To Develop JS

JS Development is separate - so you can either do only JS, only C# or both. If you also want JS development, make sure you also cloned the repos from before. Then...

Run npm ci (complete init/continuous integration) in these locations to get packages:

  1. npm ci 2sxc-ui
    after 2sxc-ui npm ci you cann all other Project with ci-all (globale package.json)
  2. npm ci eav-ui 

Test-run the builds on

  • 2sxc-ui release all (will build all sub-projects)
    The JS File are in: C:\Projects\2sxc\2sxc-dnn9113\Website\DesktopModules\ToSIC_SexyContent\dist
  • eav-ui prod-all (will build all sub-projects
    The JS File are in: C:\Projects\2sxc\2sxc-dnn9113\Website\DesktopModules\ToSIC_SexyContent\dist
    • eav-ui release (builds everything, including translations)
    • For local development, use dev-main and deploy-watch.
    • If changes are not visible, check if the cache is disabled and Chrome DevTools are open.

If everything worked, running these build updates the _latest folder in the sxc-sources and also in DNN (. If not, your environment variables are probably wrong. The JS File are in: C:\Projects\2sxc\2sxc-dnn9113\Website\DesktopModules\ToSIC_SexyContent\dist

For Documentation

Documentation is made with docfx that has to be installed on dev computer.

dotnet tool install -g docfx

It is developed in 2sxc-docs repo and generated from md files and 2sxc/EAV c# and js source code.

To build and run you local version of documentation:

  1. cd "C:\Projects\2sxc\2sxc-docs\2sxc Docs Generator"
  2. docfx build docfx.json --serve
  3. open in browser http://localhost:8080

Current documentation is published to https://docs.2sxc.org/.

More info: How to contribute to 2sxc documentation.

Verify the setup

  1. Open 2sxc Multi-Target.sln (If you use DNN and Oqtane)
    C:\Projects\2sxc\2sxc\Src\2sxc Multi-Target.sln
  2. Unload the following projects 
    Intergration > BasicEav01 (unloaded)
    Intergration > SxcEdit01 (unloaded)
  3. Compile in Visual-Studio, new (ca. 30) DLL Files now in 2sxc-dnn9113 > Website > bin 
  4. Now you can start coding :)

 

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/D8cY_BwG
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 (3)

Andere, die hierhin verweisen

  1. Setup 2sxc-Inpage for Development
  2. 1.1 Basic Read-Integration
  3. Setup 2sxc Dev Web with Oqtane
Verwendet diese (2)

Andere, die in diesem Dokument verwendet werden

  1. Build Configuration Files in 2sxc 16+
  2. Disable Hot Reload for IIS Express profile of Oqtane.Server project in Visual Studio 2022
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

Das ist eine Checkliste. Listen werden zu Checkboxen umgewandelt.

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