...
Info |
---|
These instructions were tested on a clean Windows Server 2012 R2 server |
...
Table of Contents | ||
---|---|---|
|
Artemis On-Premise
Add Server Role
- Add Server Role “Web : Web Server(IIS)”.
- Under .NET Framework 4.5 Features.:
- Add ASP.NET 4.5.
- CF Services: Add Http activation.
- Under Web Server Role (IIS), locate Role Services.
- Add Application Development/ASP.NET 4.5. This automatically adds:
- .NET Extensibility 4.5
- ISAPI Extensions
- ISAPI Filters
- Install Install DotNetCore Windows server Hosting.
- Execute From Command Prompt, execute net stop was /y followed by net start w3svc from a command prompt.
- Remove Default Web Site in IIS Manager.
- Create a folder called c:\Artemis.
- Create a folder called c:\Artemis\logs.
Create a New Website
- In IIS Manager, create a new website.
Site name = “Artemis”: Artemis
Physical Path = “c: c:\Artemis”Artemis
Hostname: blank. - Edit the new Artemis App Pool.
- Change .NET CLR version to No Managed Code.
- Extract contents of Artemis.zip to c:\Artemis.
- Paste Artemis.zip onto desktop.
Right-click and select Extract All.
Info Files will be extracted to this the folder : c:\Artemis.
- Click Extract.
- Edit c:\Artemis\appsettings.json (with notepadNotepad)
- Under Application Settings, set “WebRoot” to WebRoot to appropriate URL to whcih which you will be binding.
Set RequireHttps to true if True if you will be using HTTPS. Leave it false if you will be If using HTTP, leave it False.
Change LogFilename to LogFilename to c:\\artemis\\logs\\log-{Date}.txt.
Note Note the double backslashes. This is a JSON file, so backslashes have to be escaped like this.
- Under ConnectionStrings, change connection string for “Artemis” Artemis to the appropriate connection string to connect to your SQL Server. Trusted_Connection=True” should be left in there if
- If you will be connecting to SQL Server using an Application Pool in IIS that is mapped as a login in SQL Server
- , Trusted_Connection: True.
- If you will be connecting using SQL Auth, use User Id
- : myUsername, Password
- : myPassword instead of
- Trusted_Connection
- : True
- .
Start
...
Artemis
Start the Artemis website.
Note If the website was already running, first stop it.
- Browse to http://localhost/sysadmin/Login and login with the initiating Username and Password provided by Support.
- If you have already created a BLANK Artemis database when you setup your connection string, you will get an error “Invalid object name ‘INFO’” . Click Initialize Database.
- If you do not have a blank database created, you will get an error indicating that it cannot connect to the database. Click Create Database to create one.
- After creating/initializing your database, click Upgrade Database. You will be prompted for an HPS user account to be the first super-user of the new database.
- If you want to change the sysadmin username or password, click Compute New Password hash and follow the prompts. You will be given a new password hash. Copy that the value, paste it into appsettings.json, and restart the website for it to take effect.
- Logout of the sysadmin area using Logout button.
- Use the Login button on the main webroot. You will be redirected to Heartland SSO page.
Login Log in using your HPS credentials.
Info Login credintials credentials must be the username you entered above as the initial super-user, but you don’t need the HPS\ prefix or anything, just login as you normally would any Heartland SSO site.
District Maintenance
- Go to District Maintenance.
- Add New.
- Enter a District Name
- . e.g.
- Hometown County Schools
Enter an Integration ID. e.g.
Hometown_US
Note The Integration ID will act as the
“User ID” for
communicate with Artemis.
Click
Add New.
The success message will
inform you that a new district was created and
provide the the new integration password.
Note Note the information. You will need this password for communication with Artemis.
Info If you miss
the message, use the Change Integration Password button to generate a new one
.
- Under External Users, click “Add User” Add User.
Create a username for Vendnovation Service to use.
Ee.g.
“pasco“hometown_vendnovation”.
roleNote The
“Vending API” (thereRole should be
)Vending API. There are no other choices at this time
.
- Click Add User.
- Again, the
The confirmation message will
tellinform you of the new user’s password
. Copy it down..
Note Note the information. You will need this password for communication with Artemis.
itInfo If you miss
clickthe message,
“Rotate Password” buttonclick the new user name and use the
Rotate Password button to generate a new one.
At this point Artemis is setup and ready to gois now complete.
If Aretmis Artemis is used in conjunction with Vendovation, you will need to follow the next steps to setup the Vendnovation Service wedge.
...
- In IIS Manager create a new website.
Site name = “Vendnovation”, : Vendnovation
Physical Path = “c: c:\Vendnovation”, Vendnovation
Hostname: blank. - Edit the new Vendnovation App Pool, make sure .
- Ensure .NET CLR version is set to v4.0.
- Extract contents of Vendnovation.zip to c:\Vendnovation.
- Paste Vendnovation.zip onto desktop.
- right clickà
Right-click Extract All.
thisInfo Files will be extracted to
:the folder
Vendnovationc:\
Artemis.
- Click Extract.
- Edit c:\Vendnovation\web.config (with notepad)
- Under the <appSettings> element, set ArtemisUserName to the external user created in Artemis, . e.g. “pasco“hometown_vendnovation”.
- Set ArtemisPassword to the corresponding password.
Set ArtemisURL to the URL you will be using to get from Vendnovation service to Artemis.
likeNote If you are on the same server, it will be something
similar to http://localhost/api/Vending/ depending on how you are handling the binding.
Set LogFilename to
“cc:\Vendnovation\logs\log-{Date}.
txt”. Note, unliketxt.
soNote Unlike Artemis, this is XML and not JSON; therefore,
there are no escaped backslashes in the path.
Change
“LogFilename” to “cLogFilename to c:\\artemis\\logs\\log-{Date}.
txt” (note the double backslashes, this is JSON file so backslashes have to be escaped like this)- Set “includeExceptionDetailInFaults” to “false”
- Set “directoryBrowse enabled” to “false”
txt.
- Set IncludeExceptionDetailInFaults to True.
- Set directoryBrowse enabled to False.
- Save web.config, and start .
- Start the Vendnovation website.