zhuima / daohang Goto Github PK
View Code? Open in Web Editor NEW运维内部使用的导航地址, 运维导航系统,链接导航系统,网址导航系统,导航页面,导航网址
Home Page: https://zhuima.github.io/daohang/
License: GNU General Public License v2.0
运维内部使用的导航地址, 运维导航系统,链接导航系统,网址导航系统,导航页面,导航网址
Home Page: https://zhuima.github.io/daohang/
License: GNU General Public License v2.0
$ 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版本的源码存在吗?
之前版本后台管理页面登陆不了,这两天看到已修复。重新部署
第一种方法 docker pull ghcr.io/zhuima/daohang docker-compose up
第二种方法 自行构建docker镜像
daohang能够正常显示页面
daohang页面打不开,telnet服务器+端口 提示连接被拒 服务器上ss -nltp 可以看到8080在监听 进入到docker容器里ss -nltp 没有发现8080在工作
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
访问web报错 You may need to add ip to ALLOWED_HOSTS
修改daohang\settings.py文件,ALLOWED_HOSTS = ['*']
VM
Docker
后台登录地址 singin != signin 英语癌
daohang/urls.py
url(r'^singin/', admin.site.urls, name='login'),
网址多了的,搜索功能还是很有必要的
1、链接描述里想添加用户和密码信息,方便访问的时候复制,不过不能换行
用户:
密码:
2、排序,链接和分类是否能进行手动排序,比如常用的可以手动调整到前面
3、权限管理,比如某个用户只能看到那些链接
如下:
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
This issue provides visibility into Renovate updates and their statuses. Learn more
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
第一种部署太麻烦了
第二种docker我没试
正确显示登录界面
登录界面 显示不全,css 和 js 错误
Request Method: | POST |
---|---|
http://10.240.7.131:8080/commit/ | |
1.8.1 | |
OperationalError |
/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页面太过于简陋
我用admin:admin登陆不进去
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.