This repository contains Erewhon, the example JADE schema. Erewhon is a fictional E-commerce platform where agents sell high-end items and clients can bid on or purchase them.
Documentation for the Erewhon system can be found at: https://secure.jadeworld.com/JADETech/JADE2022/WhitePapers/WP_Erewhon.pdf
These instructions get a copy of the Erewhon system up and running on your local machine.
Before you can load the schemas, you need JADE 2022 installed.
- Grab a FREE Developer's license at https://www.jadeworld.com/jade-platform/developer-centre/pricing-licensing/free-development-license
- Download the JADE 2022 release at https://www.jadeworld.com/developer-center/download-jade
- Open the installer and follow the instructions in the install wizard.
- JADE is now installed, and a shortcut has been placed in your Start menu. You're good to go!
For details about installing JADE, see https://secure.jadeworld.com/JADETech/JADE2022/Docs/InstallConfig.pdf
Step 1: Setting your username and email
- In the Options menu, select the Preferences command.
- Select the Source Management sheet.
- Enter your name and email address in the Commit Details group box inside the Source Control group box.
- Select a valid working directory. (This can be whatever you like, as long as you remember it.)
- Click the OK button.
Step 2: Cloning the Repository
- In the Browse menu, select the Clone command from the Git Source Control Client submenu. (The local path is filled in for you as the path you selected in Step 1.)
- For the Repository URL, enter https://github.com/jadesoftwarenz/JADE-Erewhon
- Click the Clone button.
Step 3: Importing the Erewhon Database
- In the Schema menu, select the Load command.
- Check the Load Multiple Schemas check box.
- Select the ErewhonDemoSystem.mul file in the folder you selected as your working directory.
- Click the OK button, and the Erewhon schemas will be loaded into your Schema Browser ready for use.
Optional Step: Using the DotNet Shop
-
Load the Erewhon schemas.
-
Load the initial data using the initializeData JadeScript method in ErewhonModelSchema.
-
Navigate to the ErewhonDotNetShop folder in your local repository directory.
(You can skip the next two steps if you have installed JADE in C:\Jade.)
-
Open app.config in your preferred text editor (for example, Notepad++), and change all instances of C:\Jade to your JADE install directory
-
If you have renamed your system folder or if your jade.ini file is not located in the JADE base directory, modify the file paths, as needed.
-
Open both .csproj and files (in their sub-directories) in your preferred text editor (for example, Notepad++), and change all instances of C:\Jade\bin to your JADE (binary) install directory.
-
Open both .config and files (in their sub-directories) in your preferred text editor (for example, Notepad++), and change all file paths to match the locations of your JADE INI file, binary and system directory.
-
Make sure you have a JADE database on a server node (that is, jadrap) running for your JADE database, then open ErewhonDotNetApp.sln in Microsoft Visual Studio, build, and run it. Note. Both projects in the solution should be built as x64 Release, you may need to open the Configuration Manager in Visual Studio and make this change. ErehwonExposures project targets 'net48;net6.0' and ShopUI project targets 'net6.0-windows'. The relevant SDK's will need to be installed. The ShopUI Project will be default run as MultiUser - so the JADE Database Server must be running. This can be changed to SingleUser in ShopUI\Models\Erewhon.cs
Q. Can I contribute to or change these schemas?
The schemas contained in this repository are for demonstration purposes, and as such, are not open to pull requests. However, you are welcome to create a fork and make changes to your own copy, subject to our license (LICENSE.txt).
Q. What can I do with this Erewhon system?
Using the Administration application, you can take the role of a sales agent and post items for your (fictional) clients to buy. Using the ErewhonShop application, you can take the role of a client and bid for or buy (fictional) items. For more details, see the Erewhon Demonstration System Reference.
This project is licensed under the MIT License. See the LICENSE.txt file for details.