Hi Larry,
yes, there's a way to run openATTIC without Apache!
And in fact, it looks like you've started the server correctly.
The reason why you don't see the frontend may be that openATTIC is, by
default, configured to use "openattic" as path right after the
hostname/port in the URL (http://host:port/openattic). The Django web
server makes the contents of openATTIC available on the root path.
That means, that the frontend is wrongly configured for the Django web
server and the path needs to be adapted. Afterwards, you'd need to
rebuild the frontend. I'll guide you through this.
1. Change the API URL in `webui/app/config.js` from "/openattic
/api/" to "/api/".
2. Next, you'll need to create the file `webui/app/webpack.config.json`
with the following content:
{
"target": "
http://0.0.0.0:8000",
"contextRoot": "/"
}
3. And last you'll need to rebuild the frontend. Do so by executing
`npm run build` in the `webui/` folder.
If `npm run build` doesn't work for you, it's likely that you're
missing some dependencies which need to be installed. These are "node"
(or "nodejs") and "npm".
You may also find our developer documentation [1] useful.
- Patrick
[1]
http://docs.openattic.org/en/latest/developer_docs/
> --
> You received this message because you are subscribed to the Google
> Groups "openATTIC Users" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
openattic-use...@googlegroups.com.
> To post to this group, send email to
openatt...@googlegroups.com
> .
> To view this discussion on the web visit
https://groups.google.com/d/
> msgid/openattic-users/c90f3ffe-7a06-4516-a4aa-
> 32c7c7b9df4b%
40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)