mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 15:08:51 +00:00
ifctester.webapp - add to readme
This commit is contained in:
@@ -56,3 +56,8 @@ my_ids.validate(my_ifc)
|
|||||||
# show results:
|
# show results:
|
||||||
reporter.Console(my_ids).report()
|
reporter.Console(my_ids).report()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
### ifctester web app
|
||||||
|
|
||||||
|
Can be started by `cd webapp && python app.py`.
|
||||||
|
|||||||
@@ -76,3 +76,7 @@ def audit():
|
|||||||
engine = ifctester.reporter.Json(specs)
|
engine = ifctester.reporter.Json(specs)
|
||||||
engine.report()
|
engine.report()
|
||||||
return engine.to_string()
|
return engine.to_string()
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
app.run(debug=False)
|
||||||
|
|||||||
Reference in New Issue
Block a user