Stream: dev

Topic: dev env, custom homepage


view this post on Zulip Marcos Anjos (Nov 08 2023 at 16:19):

Hello, community. I would like to configure a development environment (local) to perform some layout customizations in Dataverse. Do you have any tutorials on how to configure development tools (example: netbeans, database)? I'm using a Windows operating system, is it compatible or is it recommended to use Linux?

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 08 2023 at 16:25):

@Juan Pablo Tosca Villanueva is on Windows and might be able to offer some advice. Just this morning he was saying that there's a step missing in our guides.

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 08 2023 at 16:27):

Assuming you want to start from the latest in the develop branch, I'd recommend looking at the "preview" of our guides. You'd go to https://guides.dataverse.org and then click "Dataverse Software Documentation Versions" to find your way to http://preview.guides.gdcc.io/en/develop/developers/index.html

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 08 2023 at 16:28):

I would recommend the quickstart: http://preview.guides.gdcc.io/en/develop/developers/dev-environment.html#quickstart

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 08 2023 at 16:29):

And worry about Netbeans vs other IDEs later :grinning:

view this post on Zulip Marcos Anjos (Nov 08 2023 at 16:57):

Philip Durbin said:

Juan Pablo Tosca Villanueva is on Windows and might be able to offer some advice. Just this morning he was saying that there's a step missing in our guides.

Hello @Philip Durbin , I have already configured this tutorial on my machine,
http://preview.guides.gdcc.io/en/develop/developers/dev-environment.html#quickstart

I wonder how I can configure the project in a development IDE

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 08 2023 at 16:58):

Oh! You can log in as dataverseAdmin?

view this post on Zulip Marcos Anjos (Nov 08 2023 at 17:02):

Philip Durbin said:

Oh! You can log in as dataverseAdmin?

Yes, I'm root

image.png

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 08 2023 at 17:05):

Fantastic!

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 08 2023 at 17:05):

Sorry, in a call. brb

view this post on Zulip Marcos Anjos (Nov 08 2023 at 17:12):

Philip Durbin said:

Fantastic!

I would like to make a customization before the main one where the results appear. Something customized like these main pages:
https://dataverse.harvard.edu/
https://lattesdata.cnpq.br/

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 08 2023 at 18:26):

Here, please try this (or the equivalent from Windows):

$ cd docker-dev-volumes/app/data
$ mkdir branding
$ cd branding
$ curl -O https://guides.dataverse.org/en/6.0/_downloads/0f28d7fe1a9937d9ef47ae3f8b51403e/custom-homepage.html
$ curl -X PUT -d '/dv/branding/custom-homepage.html' http://localhost:8080/api/admin/settings/:HomePageCustomizationFile

I'm following https://guides.dataverse.org/en/6.0/installation/config.html#custom-homepage

This what I see:

Screenshot-2023-11-08-at-1.24.30-PM.png

view this post on Zulip Juan Pablo Tosca Villanueva (Nov 08 2023 at 18:55):

Hi @Marcos Anjos I see that your environment is working so that is great! Just a quick question, did you configure your host files at some point? I was telling @Philip Durbin earlier that there may be a step missing from our documentation that would prevent the access of dataverse:8080

view this post on Zulip Matt Mangan (Dec 02 2023 at 14:43):

@Philip Durbin Should we enable something like this as the default in the SPA? Pretty low effort to throw up a landing page that could be customized

view this post on Zulip Philip Durbin ๐Ÿš€ (Dec 04 2023 at 13:53):

@Matt Mangan maybe? At some point the SPA will need to have the custom homepage feature that JSF has. However, I'm not aware of it being in the roadmap for the beta, let alone having an issue.

view this post on Zulip Philip Durbin ๐Ÿš€ (Dec 04 2023 at 13:54):

You could certainly bring it up at the next frontend meeting.

view this post on Zulip Matt Mangan (Dec 04 2023 at 15:59):

It's probably out of scope, I'll add it to my wishlist in the interest of meeting our deadlines


Last updated: Nov 01 2025 at 14:11 UTC