{"id":17299804,"url":"https://github.com/threefish/acre","last_synced_at":"2025-03-26T21:42:10.119Z","repository":{"id":32684000,"uuid":"36273016","full_name":"threefish/acre","owner":"threefish","description":"Automatically exported from code.google.com/p/acre","archived":false,"fork":false,"pushed_at":"2015-05-26T05:05:48.000Z","size":20648,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T03:29:19.569Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/threefish.png","metadata":{"files":{"readme":"README","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-26T04:57:49.000Z","updated_at":"2015-05-26T05:01:21.000Z","dependencies_parsed_at":"2022-07-17T20:41:47.635Z","dependency_job_id":null,"html_url":"https://github.com/threefish/acre","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/threefish%2Facre","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefish%2Facre/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefish%2Facre/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threefish%2Facre/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/threefish","download_url":"https://codeload.github.com/threefish/acre/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245743324,"owners_count":20665090,"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-15T11:23:47.590Z","updated_at":"2025-03-26T21:42:10.103Z","avatar_url":"https://github.com/threefish.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n                \n                   Acre (A Crash of Rhinos Evaluating)\n                   -----------------------------------\n\n\nAcre is a server-side Javascript platform for implementing web applications\neasily.  It was designed to facilitate the development of applications that\nmake use of the data provided by Freebase.com, though it is a capable platform\nfor generic web application development. Applications are generally implemented\nusing the Acre templating language, which is a variation of Mjt\n(http://mjtemplate.org). It's also possible to implement applications directly\nin Javascript, which is preferable for APIs that return JSON results.\n\nTraditionally, Acre stores the meta-data and source required to find and run\napplications using the APIs provided by freebase.com.  The retrieval mechanism\nfor discovering source and meta data is pluggable, and thus easily extensible.\nThis release includes a method that uses the local file system to find and run\napplications, as well as the more traditional freebase.com implementation.\n\n\nBuilding Acre\n-------------\n\nAcre requires you to have a Java Developer's Kit installed (version 5 or greater)\nand Apache Ant. (basically, 'java', 'javac' and 'ant' need to be present in your path).\nAll the libraries that Acre requires to build and to run are already shipped with it.\n\nTo build, simply type\n\n  ./acre build\n\n\nRunning Acre\n------------\n\nTo run acre, simply type:\n\n  ./acre run\n\nand then look at:\n\n  http://127.0.0.1:8115/acre/status in your browser.\n\nIf everything looks alright, congratulations, you have Acre running! \n\nBy default, Acre gets data and source code from sandbox-freebase.com. \nIf you want it to get data and source code from the main freebase.com site \nrun it like this:\n\n  ./acre -c freebase run\n\n\nDeveloping Acre apps residing on your local disk\n------------------------------------------------\n\nAcre will look for your local acre apps in the 'webapp/WEB-INF/scripts' directory.  \nHere's a simple example:\n\nYour app is called:      foo\nPut the files in:        webapp/WEB-INF/scripts/foo/\nPoint your browser at:   http://foo.dev.acre.localhost:8115/\n\nAcre by default is configured to expect your apps to be responding to *.dev.acre.localhost:8115 domains.  \nTo make this work, you will need to configure a hostname for each app you're\nworking on to tell your computer it should route the requests to those domains to Acre.\nThe simplest way to do this is by adding the following to your /etc/hosts file:\n\n  127.0.0.1   foo.dev.acre.localhost\n\n(unfortunately, you can't use wildcards in /etc/hosts so you have to add a new line for \neach app you want your local acre to serve)\n\nI you want to use a different base URL (for example, once you deploy Acre on your own server), \nupdate 'ACRE_HOST_BASE' in your 'config/project.local.conf' file, and restart Acre.\n\nYou can use subdirectories for different versions of your apps, staging, etc.\nThe directory structure is the same as the namespace path in freebase.com, so\nif you want acre to serve:\n\n  http://foo.bar.dev.acre.localhost:8115/index\n\nyou would create the directory 'webapp/WEB-INF/scripts/bar/foo' and place a\nfile named 'index.\u003cext\u003e' in it. Acre uses the extension to determine what\nmechanism to use to run the file. By default Acre will serve the file as raw\ntext unless certain extensions are used:\n\n  .mjt will treat the file as an Acre template\n  .sjs will treat the file as a server-side Javascript file\n  .mql will treat the file as a MQL Query\n  .{png, jpg, gif} will serve the file as binary with the appropriate mime-type\n\n\nExample apps\n------------\n\nSome simple example applications are included in this distribution.\n\nExample 1: Hello World\n\nThe files can be found at:\n  webapp/WEB-INF/scripts/examples/helloworld\n\nAdd this line to your /etc/hosts:\n  127.0.0.1 helloworld.examples.dev.acre.localhost\n\nPoint your browser at:\n  http://helloworld.examples.dev.acre.localhost:8115/\n\n\n\t\t\t                     - o -\n\n\nThank you for your interest.\n\n\n                                          The Acre Development Team\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreefish%2Facre","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthreefish%2Facre","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreefish%2Facre/lists"}