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

Once it is build what is the next step #517

Open
fbonnet08 opened this issue Jan 25, 2021 · 14 comments
Open

Once it is build what is the next step #517

fbonnet08 opened this issue Jan 25, 2021 · 14 comments

Comments

@fbonnet08
Copy link

Hi,

would it be possible to get some proper documentation on how to install and use this framework.

Once one has build successfully what are the next steps in installing this framework?

Could someone point me towards the A to Z installation procedure.

Thanks,
F.

@IvarsKarpics
Copy link
Contributor

Hi @fbonnet08

You can find information for developers here: https://github.com/ispyb/ISPyB/blob/master/documentation/ISPyB_DevelopersGuide.md
To run ispyb you have to use wildlfly (formerly known as jboss). In the internet you can find scripts that allow to run the jboss server, but in a very simplified way one has to configure jboss (config example is in the documentation directory), copy ispyb.ear file to deployments directory and depending from the jboss version run /bin/standalone.sh -b 0.0.0.0 You should be able to access ispyb via http://localhost:8080/ispyb
The "old" java frontend ispyb/ispyb is deprecated and you may have a look at exi frontend (https://github.com/ispyb/EXI) and synchweb (https://github.com/DiamondLightSource/SynchWeb). There is a new python backend called pyispyb which is now in an active development: https://github.com/ispyb/py-ispyb At some point it should serve as a new ispyb backend.

Hope it helps,
Ivars

@fbonnet08
Copy link
Author

fbonnet08 commented Feb 1, 2021 via email

@IvarsKarpics
Copy link
Contributor

You should use MySQL or MariaDB

@fbonnet08
Copy link
Author

fbonnet08 commented Feb 1, 2021 via email

@fbonnet08
Copy link
Author

fbonnet08 commented Feb 1, 2021 via email

@IvarsKarpics
Copy link
Contributor

Hi Frederic,

You have to run update scripts if you are using master branch. Info from doc:
The creation scripts are normally updated for each tag, but if you are using the master branch, you may have to run the update scripts in ispyb-ejb/db/scripts/ahead.

Cheers,
Ivars

@fbonnet08
Copy link
Author

fbonnet08 commented Feb 1, 2021 via email

@IvarsKarpics
Copy link
Contributor

Hmm, both table should be in pydb database. Thats a bug and should be fixed.

@fbonnet08
Copy link
Author

fbonnet08 commented Feb 2, 2021 via email

@fbonnet08
Copy link
Author

fbonnet08 commented Feb 2, 2021 via email

@IvarsKarpics
Copy link
Contributor

The last error indicates that you have to run the script as pxadmin user. Next: try to deploy ispyb.ear with wildfly.

@fbonnet08
Copy link
Author

fbonnet08 commented Feb 2, 2021 via email

@fbonnet08
Copy link
Author

fbonnet08 commented Feb 3, 2021 via email

@fbonnet08
Copy link
Author

fbonnet08 commented Feb 3, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants