Coder Social home page Coder Social logo

zhuima / daohang Goto Github PK

View Code? Open in Web Editor NEW
247.0 9.0 78.0 576 KB

运维内部使用的导航地址, 运维导航系统,链接导航系统,网址导航系统,导航页面,导航网址

Home Page: https://zhuima.github.io/daohang/

License: GNU General Public License v2.0

Python 49.97% JavaScript 27.63% HTML 21.10% Dockerfile 1.30%

daohang's Issues

window系统,git clone https://github.com/zhuima/daohang.git 报错

$ git clone https://github.com/zhuima/daohang.git
Cloning into 'daohang'...
remote: Enumerating objects: 147, done.
remote: Counting objects: 100% (25/25), done.
remote: Compressing objects: 100% (17/17), done.
Receivremote: Total 147 (delta 9), reused 20 (delta 7), pack-reused 122
Receiving objects: 100% (147/147), 584.57 KiB | 180.00 KiB/s, done.
Resolving deltas: 100% (62/62), done.
error: invalid path 'static/app/fonts/iconfont.ttf?t=1490497072'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

v1版本

请问V1版本的源码存在吗?

更新后,不管是直接拉镜像起,还是构建镜像起,容器里的web服务没有运行起来

  • 我已阅读并理解 贡献指南,严格遵循其约定。

错误报告

你做了什么?

之前版本后台管理页面登陆不了,这两天看到已修复。重新部署
第一种方法 docker pull ghcr.io/zhuima/daohang docker-compose up
第二种方法 自行构建docker镜像

你期望的结果是什么?

daohang能够正常显示页面

实际结果是什么?

daohang页面打不开,telnet服务器+端口 提示连接被拒 服务器上ss -nltp 可以看到8080在监听 进入到docker容器里ss -nltp 没有发现8080在工作

daohang环境

vm

Docker 版本 19.03.12

密码不对

  • 我已阅读并理解 贡献指南,严格遵循其约定。

错误报告

admin:admin无法登录

你做了什么?

sqlite3 db.sqlite3
select * from "auth_user";
得到密码加密字符串
pbkdf2_sha256$20000$Dx4pWAzBDPek$3d5DOqAxzEKoc2bhjIyzuOHn36elLYYvB+WOMPBEGxA=
通过python验证

check_password("admin","pbkdf2_sha256$20000$Dx4pWAzBDPek$3d5DOqAxzEKoc2bhjIyzuOHn36elLYYvB+WOMPBEGxA=")
False

我修改了后台管理界面

你期望的结果是什么?

True
daohang能够提供更炫酷的页面,可以拿得出手。

实际结果是什么?

False

daohang\settings.py

  • 我已阅读并理解 贡献指南,严格遵循其约定。

错误报告

访问web报错 You may need to add ip to ALLOWED_HOSTS

你做了什么?

修改daohang\settings.py文件,ALLOWED_HOSTS = ['*']

vm或物理机器

VM

Docker

Docker

singin != signin

  • 我已阅读并理解 贡献指南,严格遵循其约定。

错误报告

后台登录地址 singin != signin 英语癌

daohang/urls.py

url(r'^singin/', admin.site.urls, name='login'),

链接描述换行,分类和链接排序问题

1、链接描述里想添加用户和密码信息,方便访问的时候复制,不过不能换行
用户:
密码:

2、排序,链接和分类是否能进行手动排序,比如常用的可以手动调整到前面

3、权限管理,比如某个用户只能看到那些链接

我执行python manager.py runserver 在服务器上报错

  • 我已阅读并理解 贡献指南,严格遵循其约定。

错误报告

如下:

Exception in thread django-main-thread:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.5/site-packages/django/utils/autoreload.py", line 54, in wrapper
fn(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/django/core/management/commands/runserver.py", line 109, in inner_run
autoreload.raise_last_exception()
File "/usr/local/lib/python3.5/site-packages/django/utils/autoreload.py", line 77, in raise_last_exception
raise _exception[1]
File "/usr/local/lib/python3.5/site-packages/django/core/management/init.py", line 337, in execute
autoreload.check_errors(django.setup)()
File "/usr/local/lib/python3.5/site-packages/django/utils/autoreload.py", line 54, in wrapper
fn(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python3.5/site-packages/django/apps/registry.py", line 122, in populate
app_config.ready()
File "/usr/local/lib/python3.5/site-packages/django/contrib/admin/apps.py", line 24, in ready
self.module.autodiscover()
File "/usr/local/lib/python3.5/site-packages/django/contrib/admin/init.py", line 26, in autodiscover
autodiscover_modules('admin', register_to=site)
File "/usr/local/lib/python3.5/site-packages/django/utils/module_loading.py", line 47, in autodiscover_modules
import_module('%s.%s' % (app_config.name, module_to_search))
File "/usr/local/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 985, in _gcd_import
File "", line 968, in _find_and_load
File "", line 957, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 693, in exec_module
File "", line 799, in get_code
File "", line 759, in source_to_code
File "", line 222, in _call_with_frames_removed
File "/usr/local/lib/python3.5/site-packages/simpleui/admin.py", line 91
raise Exception(f'action "{_action}" not found')
^
SyntaxError: invalid syntax

跑起来了, 后台无法登录

  • 我已阅读并理解 贡献指南,严格遵循其约定。

错误报告

你做了什么?

docker 部署了 daohang

你期望的结果是什么?

后台能登录

实际结果是什么?

后台登录界面的用户密码框 根本不显示

daohang环境

docker 环境

@zhuima 为啥会这样啊

1657177302(1)

url_status

Request Method: POST
http://10.240.7.131:8080/commit/
1.8.1
OperationalError

table app_urlinfor has no column named url_status

/usr/local/lib/python3.5/site-packages/django/db/backends/sqlite3/base.py in execute, line 318
/usr/local/bin/python
3.5.7
['/usr/local/web', '/usr/local/lib/python35.zip', '/usr/local/lib/python3.5', '/usr/local/lib/python3.5/plat-linux', '/usr/local/lib/python3.5/lib-dynload', '/usr/local/lib/python3.5/site-packages']
星期三, 17 四月 2019 21:02:16 +0800

页面报错,请问这个是什么原因呢

一些小错误

1.后台登录路径拼写错误 后台登录路径应该是signin 现在是singin

font图标库未上传。请问用的是哪个图标库。

请问这个后台的用户密码是什么?

  • 我已阅读并理解 贡献指南,严格遵循其约定。

错误报告

你做了什么?

我修改了后台管理界面

你期望的结果是什么?

daohang能够提供更炫酷的页面,可以拿得出手。

实际结果是什么?

daohang页面太过于简陋

daohang环境

vm或物理机器

Docker

我用admin:admin登陆不进去

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.