qianlitp / watchad-web Goto Github PK
View Code? Open in Web Editor NEWA simple web platform for WatchAD
License: GNU General Public License v3.0
A simple web platform for WatchAD
License: GNU General Public License v3.0
[root@localhost WatchAD-Web]# docker-compose build
Building frontend
Step 1/9 : FROM node:12.13.1
---> 7be6a8478f5f
Step 2/9 : LABEL maintainer "9ian1i [email protected]"
---> Using cache
---> b237faed54cc
Step 3/9 : COPY . /app/
---> Using cache
---> 29e2e102f419
Step 4/9 : WORKDIR /app
---> Using cache
---> c972f54450f2
Step 5/9 : RUN npm install --registry=https://registry.npm.taobao.org --cache=$HOME/.npm/.cache/cnpm --disturl=https://npm.taobao.org/dist --userconfig=$HOME/.cnpmrc
---> Using cache
---> 4b073ce276c4
Step 6/9 : RUN npm run build
---> Using cache
---> 161be03d2c05
Step 7/9 : FROM nginx
---> 0e901e68141f
Step 8/9 : LABEL maintainer "9ian1i [email protected]"
---> Using cache
---> 960167fc43cc
Step 9/9 : COPY --from=0 /app/dist /usr/share/nginx/html
ERROR: Service 'frontend' failed to build: Unknown flag: from
目前check时,报错pika.exceptions.ConnectionClosedByBroker: (530, "NOT_ALLOWED - access to vhost '/' refused for user 'WatchAD'")
2019-11-13 16:06:17,138 - WatchAD - ERROR - Can't connect to the MQ, please reconfirm the settings.
,无法连接MQ,已在rabbitmq上增加了WatchAD/WatchAD-by-0KEE,端口5672和15672都是打开的,谢谢!
报错内容:ERROR: Service 'server' failed to build: The command '/bin/sh -c pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple' returned a non-zero code: 2
这是因为{WatchAD-Server}/server/Dockerfile
中的pip命令导致,我的环境中pip 使用的是python 2.7的,此项目要用python 3 所以遇到此问题,可以修改此命令为pip3
RedisHelper初始化时没有判断RedisConfig是否有password属性,直接无密码连接redis,会导致服务端使用带密码redis服务时报错
there is a cors problem happend when I finish run "docker-compose up -d" ,and open http://xxx.xxx.xxx.xx/activity_timeline.html
Is there any solution ?
您好,小白一個,請教下uwsgi.ini中的{your_project_dir},指的是'WatchAD-Web-master/server'這個目錄麼,nginx.conf中的{your_project_dir}是一樣的麼;
另外nginx.conf中的‘’include /etc/nginx/default.d/*.conf‘’,默認沒有這個文件,能否提供下配置。
在frontend中npm run build之後的dist文件夾是如何處理,感謝指教!
能否添加一个 Docker 版本,这样方便测试和部署,感谢。
ERROR Failed to compile with 3 errors 8:11:13 PM
These dependencies were not found:
To install them, you can run: npm install --save @/components/activity/RawKrbTafficList @/components/alert_detail/306_exceptional_krb_req @/components/alert_detail/511_golden_ticket
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.