{"id":18510043,"url":"https://github.com/lfex/moneta-tutorial","last_synced_at":"2025-09-08T00:05:03.520Z","repository":{"id":67235625,"uuid":"53469178","full_name":"lfex/moneta-tutorial","owner":"lfex","description":"The LFE Mnesia Tutorial Adapted for Moneta","archived":false,"fork":false,"pushed_at":"2016-03-10T20:13:21.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-14T11:17:45.777Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lfex.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-03-09T04:53:20.000Z","updated_at":"2016-03-10T20:12:59.000Z","dependencies_parsed_at":"2023-06-17T19:03:59.094Z","dependency_job_id":null,"html_url":"https://github.com/lfex/moneta-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lfex/moneta-tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfex%2Fmoneta-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfex%2Fmoneta-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfex%2Fmoneta-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfex%2Fmoneta-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lfex","download_url":"https://codeload.github.com/lfex/moneta-tutorial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfex%2Fmoneta-tutorial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274113090,"owners_count":25224335,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-06T15:20:20.336Z","updated_at":"2025-09-08T00:05:03.497Z","avatar_url":"https://github.com/lfex.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"###################\nLFE Moneta Tutorial\n###################\n\n\nIntroduction\n============\n\nThis repo holds the source code for the LFE Mnesia Tutorial available `here`_.\n\n\nDependencies\n------------\n\nThis project assumes that you have `rebar`_ installed somwhere in your\n``$PATH``.\n\nThis project depends upon the following, which installed to the ``deps``\ndirectory of this project when you run ``make deps``:\n\n* `LFE`_ (Lisp Flavored Erlang; needed only to compile)\n* `lfeunit`_ (needed only to run the unit tests)\n\n\nDownload\n========\n\nGet the code from github and compile it:\n\n.. code:: shell\n\n    $ git clone git@github.com:oubiwann/mnesia-tutorial.git\n    $ cd mnesia-tutorial\n    $ make get-deps\n    $ make compile\n\n\nWalk-Through\n============\n\nStart the REPL:\n\n.. code:: bash\n\n    $ DB=./Company.DB make mnesia-shell\n\n.. code:: cl\n\n    \u003e (mnesia:create_schema (list (node)))\n    ok\n    \u003e (mnesia:start)\n    ok\n    \u003e (slurp '\"src/structure.lfe\")\n    #(ok structure)\n    \u003e (init)\n    (#(create-set-tables (#(atomic ok) #(atomic ok) #(atomic ok) #(atomic ok)))\n     #(create-bag-tables (#(atomic ok) #(atomic ok))))\n    \u003e\n\nActually, I take it back -- no walk-through.\n\nGo read the tutorial!\n\n* http://docs.lfe.io/tutorials/mnesia/1.html\n\n\n.. Links\n.. -----\n.. _here: http://lfe.github.io/tutorials/mnesia/1.html\n.. _rebar: https://github.com/rebar/rebar\n.. _LFE: https://github.com/rvirding/lfe\n.. _lfeunit: https://github.com/lfe/lfeunit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfex%2Fmoneta-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flfex%2Fmoneta-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfex%2Fmoneta-tutorial/lists"}