{"id":17733856,"url":"https://github.com/duncdrum/tmp","last_synced_at":"2025-08-08T17:42:49.713Z","repository":{"id":41852821,"uuid":"485746760","full_name":"duncdrum/tmp","owner":"duncdrum","description":"Yeoman testing ground","archived":false,"fork":false,"pushed_at":"2022-04-29T09:06:22.000Z","size":134,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-02T01:40:19.363Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duncdrum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-26T10:56:55.000Z","updated_at":"2022-06-17T00:18:42.000Z","dependencies_parsed_at":"2022-08-16T10:05:10.524Z","dependency_job_id":null,"html_url":"https://github.com/duncdrum/tmp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncdrum%2Ftmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncdrum%2Ftmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncdrum%2Ftmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncdrum%2Ftmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duncdrum","download_url":"https://codeload.github.com/duncdrum/tmp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246517251,"owners_count":20790385,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-25T23:06:38.527Z","updated_at":"2025-03-31T18:28:41.771Z","avatar_url":"https://github.com/duncdrum.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License][license-img]][license-url]\n[![GitHub release][release-img]][release-url]\n![exist-db CI](https://github.com/djbpitt/tmp/workflows/exist-db%20CI/badge.svg)\n\n\u003cimg src=\"icon.png\" align=\"left\" width=\"25%\"/\u003e\n\n# tmp\n\nMy amazing tmp application\n\n## Requirements\n\n*   [exist-db](http://exist-db.org/exist/apps/homepage/index.html) version: `5.x` or greater\n\n*   [ant](http://ant.apache.org) version: `1.10.7` \\(for building from source\\)\n\n*   [node](http://nodejs.org) version: `12.x` \\(for building from source\\)\n    \n\n## Installation\n\n1.  Download  the `tmp-1.0.0.xar` file from GitHub [releases](https://github.com/djbpitt/tmp/releases) page.\n\n2.  Open the [dashboard](http://localhost:8080/exist/apps/dashboard/index.html) of your eXist-db instance and click on `package manager`.\n\n    1.  Click on the `add package` symbol in the upper left corner and select the `.xar` file you just downloaded.\n\n3.  You have successfully installed tmp into exist.\n\n### Building from source\n\n1.  Download, fork or clone this GitHub repository\n2.  There are two default build targets in `build.xml`:\n    *   `dev` including *all* files from the source folder including those with potentially sensitive information.\n  \n    *   `deploy` is the official release. It excludes files necessary for development but that have no effect upon deployment.\n  \n3.  Calling `ant`in your CLI will build both files:\n  \n```bash\ncd tmp\nant\n```\n\n   1. to only build a specific target call either `dev` or `deploy` like this:\n   ```bash   \n   ant dev\n   ```   \n\nIf you see `BUILD SUCCESSFUL` ant has generated a `tmp-1.0.0.xar` file in the `build/` folder. To install it, follow the instructions [above](#installation).\n\n\n\n## Running Tests\n\nTo run tests locally your app needs to be installed in a running exist-db instance at the default port `8080` and with the default dba user `admin` with the default empty password.\n\nA quick way to set this up for docker users is to simply issue:\n\n```bash\ndocker run -dit -p 8080:8080 existdb/existdb:release\n```\n\nAfter you finished installing the application, you can run the full testsuite locally.\n\n### Unit-tests\n\nThis app uses [mochajs](https://mochajs.org) as a test-runner. To run both xquery and javascript unit-tests type:\n\n```bash\nnpm test\n```\n\n### Integration-tests\n\nThis app uses [cypress](https://www.cypress.io) for integration tests, just type:\n\n```bash\nnpm run cypress\n```\n\nAlternatively, use npx:\n\n```bash\nnpx cypress open\n```\n\n\n## Contributing\n\nYou can take a look at the [Contribution guidelines for this project](.github/CONTRIBUTING.md)\n\n## License\n\nMIT © [djb](http://www.obdurodon.org)\n\n[license-img]: https://img.shields.io/badge/license-MIT-blue.svg\n[license-url]: https://opensource.org/licenses/MIT\n[release-img]: https://img.shields.io/badge/release-1.0.0-green.svg\n[release-url]: https://github.com/djbpitt/tmp/releases/latest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduncdrum%2Ftmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduncdrum%2Ftmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduncdrum%2Ftmp/lists"}