{"id":23859235,"url":"https://github.com/openconext/openconext-selfregistration","last_synced_at":"2025-02-22T10:53:46.184Z","repository":{"id":22293556,"uuid":"25628292","full_name":"OpenConext/OpenConext-selfregistration","owner":"OpenConext","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-11T17:13:34.000Z","size":7770,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-02-11T18:27:16.614Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenConext.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-10-23T08:59:45.000Z","updated_at":"2025-02-11T17:13:47.000Z","dependencies_parsed_at":"2025-02-11T18:35:32.382Z","dependency_job_id":null,"html_url":"https://github.com/OpenConext/OpenConext-selfregistration","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/OpenConext%2FOpenConext-selfregistration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenConext%2FOpenConext-selfregistration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenConext%2FOpenConext-selfregistration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenConext%2FOpenConext-selfregistration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenConext","download_url":"https://codeload.github.com/OpenConext/OpenConext-selfregistration/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240163548,"owners_count":19758028,"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":"2025-01-03T03:33:09.121Z","updated_at":"2025-02-22T10:53:46.179Z","avatar_url":"https://github.com/OpenConext.png","language":"Java","readme":"# Selfregistration\n\n## Development\n\nCreate database\n\n    mysql -uroot\n    CREATE DATABASE selfregistration_dev_db DEFAULT CHARACTER SET utf8\n    create user 'selfregistration'@'localhost' identified by 'selfregistration'\n    grant all on selfregistration_dev_db.* to 'selfregistration'@'localhost';\n\nTo run locally:\n\n    mvn spring-boot:run -Drun.jvmArguments=\"-Dspring.profiles.active=dev\"\n\nOr use the shortcut:\n\n    ./start.sh\n\nWe use sass to ease the pain of CSS development. You can best install sass using ruby. Best is to manage your rubies\nwith [rbenv](https://github.com/sstephenson/rbenv). After installing rbenv ```cd``` into this directory and run:\n\n    gem install sass\n\n    sass --watch src/main/sass/application.sass:src/main/resources/static/css/application.css\n\nGoto http://localhost:8080/fedops\n\n### ServiceRegistry\n\nIt uses the API on serviceregistry to add new services. See\nhttps://serviceregistry.test.surfconext.nl/janus/app.php/api/doc/ for details.\n\nFull documentation is available at https://github.com/janus-ssp/janus/blob/develop/docs/api/rest-api-details.md.\n\n## Installing\n\n1. Create database if not exists\n\n        mysql -uroot\n        CREATE DATABASE selfregistration_db DEFAULT CHARACTER SET utf8\n        create user 'selfregistration'@'localhost' identified by '[PASSWORD_HERE]'\n        grant all on selfregistration_db.* to 'selfregistration'@'localhost';\n\n2. Download a [released](http://build.surfconext.nl/repository/public/releases/org/surfnet/coin/selfregistration)\n  or [snapshot](https://build.surfconext.nl/repository/public/snapshots/org/surfnet/coin/selfregistration/) version\n  of the selfregistration jar\n2. The files produced by [Stoker](https://github.com/OpenConext/OpenConext-stoker/) need to be accessible for\n  selfregistration.\n2. Copy ```src/main/example/application-env.properties``` to application-{ENV}.properties. Where {ENV}\n  is the environment on which the application runs (e.g. acc/prod). Adjust the properties accordingly.\n3. Move the downloaded selfregistration jar and the created application-{ENV}.properties into the same direcory\n  e.g. ```/opt/selfregistration```\n4. Start the application from the install folder as follows: ```java -jar selfregistration.jar --spring.profiles.active={ENV}```\n5. Alternatively copy ```src/main/example/selfregistration.example``` and adjust the variables accordingly.\n  Place the file in ```/etc/init.d``` so that the application can be started and stopped like\n  ```/etc/init.d/selfregistation start|stop```.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenconext%2Fopenconext-selfregistration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenconext%2Fopenconext-selfregistration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenconext%2Fopenconext-selfregistration/lists"}