Skip to content

Can't install isso on django #1009

Description

@ogurec-ogurec

what am I doing wrong?

  1. pip install isso
  2. add 'isso' app ot setting INSTALLED_APPS.
  3. Create isso.conf with the following value:
[general]
dbpath = ./comments.db 
host = 
        127.0.0.1:8000
   	http://127.0.0.1:8000/
	https://localhost:8000
	http://www.localhost:8000
	https://www.localhost:8000


[server]
listen = http://localhost:1234
[admin]
enabled = true
password = password
  1. where is the embed-min.js file located? I am download to:
    https://github.com/redradishtech/isso/blob/master/isso/js/embed.min.js

  2. Added embed.min.js to the static file

  3. Added html script to template:

 <script type="module" data-isso="http://127.0.0.1:8000/isso/" src="/static/isso/embed.min.js"></script>
 <section id="isso-thread"></section>
  1. I get an error in the browser console:
       POST http://127.0.0.1:8000/isso/count 404 (Not Found)
       GET http://127.0.0.1:8000/isso/?uri=%2Fquestion%2Fnewpost&nested_limit=5 404 (Not Found)
       POST http://127.0.0.1:8000/isso/preview 404 (Not Found)

can I somehow run isso-comments on a local machine (built-in Django server - routing by url) without an HTTP server (nginx)? Or do I really need an HTTP server?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions