Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Super.Human.Portal with Genesis #15

Open
JoelProminic opened this issue Apr 18, 2023 · 4 comments
Open

Install Super.Human.Portal with Genesis #15

JoelProminic opened this issue Apr 18, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@JoelProminic
Copy link
Contributor

We would like to setup a Genesis addin to install Super.Human.Portal as a web interface in Super.Human.Installer.

This installation will have two components:

  • Web Interface
  • Backend Database

Web Interface

This is available at: https://github.com/Moonshine-IDE/Super.Human.Portal/releases/latest/download/Super.Human.Portal.zip

If you need a version number for the file, I can add it.

It should be installed into domino/html/Super.Human.Portal on the server. The zip file will unzip as js-release, which should be placed in this directory.

For confirmation/testing, the interface will be available at /Super.Human.Portal/js-release/index.html

Backend Database

The current plan is to deploy the prepared database to the Genesis server (dm-pni-1). For now, I have placed the files at /root/Super.Human.Portal, but let me know if you need them moved.

I have a couple options for the files:

Super.Human.Portal-0.0.1.nsf # a file with the version number in the name (Super.Human.Portal-[VERSION].nsf
Super.Human.Portal.nsf # a fixed file without the version
Super.Human.Portal-version.properties # a Java Properties file with version parameters

For now, the properties file only has a VERSION property:
[root@dm-pni-1 Super.Human.Portal]# cat Super.Human.Portal-version.properties
VERSION=0.0.1

Note that these files were uploaded manually for now, but I intend to add an agent to generate them.

@JoelProminic
Copy link
Contributor Author

Dmytro has the install working with: tell genesis install superhumanportal

TODO:

  • Right now Dmytro has to update the Genesis package manually. I would like to make this more dynamic, since will need changes in the near future.
  • We have to remove the files in order to update with the install action. I see an update action, but I need to talk to Dmytro about how this works. This is not critical for Super.Human.Installer, since it should only install once, but it would be convenient for testing or long-term servers.

@JoelProminic
Copy link
Contributor Author

We have the initial implementation working for this with v0.1.4, but I'm going to bump this to the next release to continue working on refinements to this design. This installer is not directly connected to the source code in this project, anyway.

@piotrzarzycki21
Copy link
Contributor

I'm not sure about what version number we are talking about but as I have mention the place where we should retrieve version number is in /javascript/bin/js-release/resources/version.xml. FYI @dpastov

XML is quite simple:

<?xml version="1.0" encoding="utf-8"?>
<root>
	<version>0.1.5-SNAPSHOT</version>
	<build>2023-05-05T07:36:55Z</build>
</root>

This xml is being created during every build.

@JoelProminic
Copy link
Contributor Author

I need to update my agent to build the database to instead create a copy of the database on the Genesis server. No changes are required for this issue on the Super.Human.Portal side, so I'll remove this from the milestone

@JoelProminic JoelProminic removed this from the Super.Human.Portal v0.1.5 milestone May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants