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

stopgap upgrade #19

Closed
5 of 6 tasks
saylorsd opened this issue May 3, 2023 · 4 comments
Closed
5 of 6 tasks

stopgap upgrade #19

saylorsd opened this issue May 3, 2023 · 4 comments

Comments

@saylorsd
Copy link
Member

saylorsd commented May 3, 2023

To prevent any serious downtime and potential loss of data, we need to migrate to the new database ASAP.

Steps:

  • Get a CKAN 2.10 deployment working with our new database.
  • Install the necessary extensions.
  • Update datajson extension to work with 2.10
  • Update(rewrite?) extension for promoted views.
  • Install other suggested extensions (if added in comments)
  • Install old theme. Slightly tweak default theme to fit old color scheme.
@saylorsd
Copy link
Member Author

saylorsd commented May 3, 2023

There are two important extensions that we currently can't use with CKAN 2.10: datajson and featureviews.

They're being tracked in their own issues:
#20
#21

@saylorsd
Copy link
Member Author

saylorsd commented May 12, 2023

datajson is fixed. I will hold canonical/promoted/dataset-landing-page views as a last thing; it can happen after launch.

Some final style fixes still need to be done:

  • pagination on datatables
  • datatables buttons
  • activity stream page
  • style private dataset badge .dataset-private.badge

@marikanti
Copy link

Hi @saylorsd how did you fixed the iroutes issue

I want to redirect homepage to /dataset

@saylorsd
Copy link
Member Author

@marikanti On our site (https://data.wprdc.org) we handle that by defining a redirect in a web server (nginx).

This location directive tells nginx to redirect requests to https://data.wprdc.org/ to https://data.wprdc.org/dataset/.

    location ~ ^/$ {
        return 301 /dataset/;
    }

If you're using apache there should be a similar way of setting up a redirect.

Hope that helps.

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