[Arches] Migrate Database to Production

2018-11-19 Thread galbrecht . nz
Hi, We have an Azure PostgreSQL database in a dev environment and I was wandering what would be considered the best practice//way for migrating our dev database to production. Would backing up and restoring the database into a production environment work, or is there another process to be

Re: [Arches] Unit tests in custom Arches app

2018-11-19 Thread Alexei Peters
Vincent, I've never tried this before, but I'm sure you can get it to work with a little fiddling. The test module is completely separate from the pip installed arches code. ROOT_DIR should point to your app root directory. TEST_DIR should point to your test directory. Hope that's helpful. -Alexei

Re: [Arches] Re: RequireJS timed out

2018-11-19 Thread Adam Cox
Exactly :) On Mon, Nov 19, 2018 at 5:55 PM Vincent Meijer wrote: > Yes please, that way I wouldn't have to override base.htm either :) > > On Mon, 19 Nov 2018, 18:51 Adam Cox >> Vincent, this illustrates a great way to normalize the inclusion of extra >> Javascript libraries in an Arches

Re: [Arches] Re: RequireJS timed out

2018-11-19 Thread Vincent Meijer
Yes please, that way I wouldn't have to override base.htm either :) On Mon, 19 Nov 2018, 18:51 Adam Cox Vincent, this illustrates a great way to normalize the inclusion of extra > Javascript libraries in an Arches project: > > I think a dummy file, perhaps called "javascript_project.htm" should

Re: [Arches] Re: RequireJS timed out

2018-11-19 Thread Adam Cox
Vincent, this illustrates a great way to normalize the inclusion of extra Javascript libraries in an Arches project: I think a dummy file, perhaps called "javascript_project.htm" should be put into a project by default, and then a line added to the real base.htm to include it (or something along

Re: [Arches] Fuzzy dates

2018-11-19 Thread Adam Cox
Ok, thanks for chiming in Alexei. I agree Vincent, that more could be added to the help to explain ETDF dates. If you have a minute, a ticket in the https://github.com/archesproject/arches-docs would be appreciated, especially if you have a specific idea of where it would be most appropriate to

Re: [Arches] Fuzzy dates

2018-11-19 Thread Alexei Peters
Adam, the link (https://www.loc.gov/standards/datetime/edtf.html) that Vincent just posted is the new (official) spec, which appears to have just been posted last month. Unfortunately, the library we use still references the old draft, so for now we need to stick with the old link in our docs.

Re: [Arches] Re: RequireJS timed out

2018-11-19 Thread Vincent Meijer
I extend require.config() this way: https://github.com/globaldigitalheritage/arches-3d/blob/master/arches_3d/arches_3d/templates/config.htm Then I include that template like so: https://github.com/globaldigitalheritage/arches-3d/blob/master/arches_3d/arches_3d/templates/base.htm#L63 (I

Re: [Arches] Re: RequireJS timed out

2018-11-19 Thread larrygoh84
Hi Vincent,Just checking, is there a variable in the code base for the waitseconds?By default, i think its 7 sec.Thanks. Regards,Lawrence  Original message From: Vincent Meijer Date: 11/20/18 5:52 AM (GMT+12:00) To: Arches Project Subject: [Arches] Re: RequireJS timed out

[Arches] Re: RequireJS timed out

2018-11-19 Thread Vincent Meijer
Hey Lawrence, Not sure if I ever had the same problem, but at some point I set my waitSeconds to 0, so I must have at least some issues with loading javascipt modules. On Tuesday, 13 November 2018 03:46:24 UTC+1, Lawrence Goh wrote: > > Hi all, has anyone experienced this where you have

Re: [Arches] Fuzzy dates

2018-11-19 Thread Vincent Meijer
Adam, here is a recently posted page that might be even better: https://www.loc.gov/standards/datetime/edtf.html Generally speaking though, a few words of introduction on fuzzy dates and some pointers, e.g. that the data type in Arches can be found as 'edtf', and also some examples of what