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

Add Documentation - How to create an openEQUELLA dev environment in Ubuntu #73

Open
wants to merge 26 commits into
base: master
Choose a base branch
from

Conversation

matjmiles
Copy link

@matjmiles matjmiles commented Sep 15, 2020

This is a detailed step by step instructional document that walks the user through setting up the Ubuntu vm, openEquella and all of it's dependencies.

@edalex-ian
Copy link
Member

Heya @matjmiles

Thanks for this.

One thing before I review though, developer documentation currently sits over in the core repository. Specifically for this kind of guide, it would sit in https://github.com/openequella/openEQUELLA/tree/develop/Dev/docs

Once there, it'd then be worth linking to from either the root README.md or CONTRIBUTING.md. Or then again, the Dev/README.md.

Would it be possible for you to do a PR along those lines?

@matjmiles
Copy link
Author

matjmiles commented Sep 16, 2020 via email

@matjmiles
Copy link
Author

matjmiles commented Sep 17, 2020 via email

Copy link
Member

@ChristianMurphy ChristianMurphy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @matjmiles!
Added some comments below

@@ -0,0 +1 @@
Welcome to the openEQUELLA wiki!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It this page a placeholder?
Is there more content planned for it, or will it be a table of contents?

Comment on lines +3 to +20
* <a href="#download-ubuntu">Download Ubuntu Desktop Software</a>
* <a href="#install-oracle">Install Oracle Virtual Box VM Software</a>
* <a href="#install-sdkman">Install sdkman to Run and Manage Java 8</a>
* <a href="#install-postgres">Install Postgresql</a>
* <a href="#install-pgadmin">Install Pgadmin4</a>
* <a href="#install-libinfo5">Install libtinfo5</a>
* <a href="#install-npm">Install npm</a>
* <a href="#install-node">Install Nodejs</a>
* <a href="#install-imagemagick">Install ImageMagick</a>
* <a href="#install-git">Install Git</a>
* <a href="#install-intellij">Install Intellij</a>
* <a href="#install-ssh">Generate an SSH key and Add it to the ssh-agent</a>
* <a href="#add-key">Add the ssh key to your openEQUELLA GitHub Repository</a>
* <a href="#clone-repo">Clone the openEQUELLA Repository</a>
* <a href="#install-sbt">Install SBT</a>
* <a href="#create-branch">Create a New Branch of openEQUELLA in Git</a>
* <a href="#import-sbt">Import sbt project into Intellij</a>
* <a href="#compile-run">Compile and Run openEQUELLA Server</a>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we make these markdown links?
https://www.markdownguide.org/basic-syntax#links

Comment on lines +302 to +321
`$ sudo /usr/pgadmin4/bin/setup-web.sh`

`The output should look like what you see below. You will be prompted for an email address and password. You will also be prompted to restart the apache server. `

`Setting up pgAdmin 4 in web mode on a Debian platform...`
`Creating configuration database...`
`NOTE: Configuring authentication for SERVER mode.`

`Enter the email address and password to use for the initial pgAdmin user account:`

`Email address: [email protected]`
`Password:`
`Retype password:`
`pgAdmin 4 - Application Initialisation`
`======================================`

`Creating storage and log directories...`
`We can now configure the Apache Web server for you. This involves enabling the wsgi module and configuring the pgAdmin 4 application to mount at /pgadmin4. Do you wish to continue (y/n)? y`
`The Apache web server is running. A restart is required for the pgAdmin 4 installation to complete. Would you like to continue (y/n)? y`
`Apache successfully restarted. You can now start using pgAdmin 4 in web mode`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +475 to +479
`$ cd /home/developer`</br>
`$ mkdir git_proj`</br>
`$ git config --global user.name “mjm”`</br>
`$ git config --global user.email [email protected]`</br>
`$ git clone [email protected]:someone/openEQUELLA.git `
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +558 to +559
`Sbt:Equella> compile`</br>
`Sbt:Equella> prepareDevConfig`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

…Box-Ubuntu-OS.md

Fixed one and two. Working on the image problem.
Update How-to-install-openEQUELLA-Development-Environment-in-Virtual-…
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

Successfully merging this pull request may close these issues.

4 participants