内容整理1

python3 django-admin.py startproject mainsite  ~/cyz/code/mpa_platform    

python3 manage.py makemigrations

python3 manage.py migrate 

python3 manage.py createsuperuser

python3 manage.py startapp mpa

 

Django:

https://github.com/dongfanger/teprunner-backend/tree/master

 

 

python3 django-admin.py startproject mainsite  ~/cyz/code/mpa_platform    

python3 manage.py makemigrations

python3 manage.py migrate 

python3 manage.py createsuperuser

python3 manage.py startapp mpa

 

DataBase:

SELECT * FROM vehicle_order WHERE phone = '17621151815';

SELECT * FROM vehicle_order WHERE phone = '176211518151';

 

SELECT * FROM vehicle_order WHERE phone = '19512381630';19512381630 18621991376

SELECT * FROM notice_record WHERE comm_no= 'Z36770';

SELECT * FROM notice_record WHERE comm_no= 'Z36784';

SELECT * FROM notice_record WHERE comm_no= 'Z36784';

SELECT * FROM vehicle_order WHERE phone = '17621151815';

[{"rqId":"1669087821508","status":"ORDER_INTAKE","changeTime":"2022-11-21 11:29:21"}, 

{"rqId":"1669087821518","status":"ORDER_FROZEN","changeTime":"2022-11-22 11:29:51"},

{"rqId":"1669087821529","status":"START_OF_PRODUCTION","changeTime":"2022-11-23 11:30:21"},

{"rqId":"1669087781854","status":"END_OF_PRODUCTION","changeTime":"2022-11-24 11:30:42"},

{"rqId":"1669087710731","status":"RELEASE_FOR_TRANSPORT","changeTime":"2022-11-25 11:31:31"}]

 

[{"rqId":"1669087821508","status":"ORDER_INTAKE","changeTime":"2022-11-21 11:29:21"},

{"rqId":"1669087821518","status":"ORDER_FROZEN","changeTime":"2022-11-22 11:29:51"},

{"rqId":"1669087821529","status":"START_OF_PRODUCTION","changeTime":"2022-11-23 11:30:21"},

{"rqId":"1669087781854","status":"END_OF_PRODUCTION","changeTime":"2022-11-24 11:30:42"},

{"rqId":"1669087710731","status":"RELEASE_FOR_TRANSPORT","changeTime":"2022-11-25 11:31:31"},

{"rqId":"1669087601572","status":"EXIT_PORT_ON_VESSEL","changeTime":"2022-11-26 11:32:41"},

{"rqId":"1669087351678","status":"ARRIVAL_AT_PORT_ON_DESTINATION","changeTime":"2022-11-27 11:33:32"},

{"rqId":"1669087601573","status":"DEALER_DELIVERY","changeTime":"2023-01-28 11:32:41"}]

 

sudo ln -s /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/django/bin  /usr/local/bin/django-admin

 

python3 django-admin.py startproject mainsite  ~/cyz/code/mpa_platform    

python3 manage.py makemigrations

python3 manage.py migrate 

python3 manage.py createsuperuser

python3 manage.py startapp mpa

 

APP  install:

Env:underdevelopment + staging

 

—————Android-Beta—————

This is the setting for Staging env.

Active App Stage= Under development

Active BFF Environment = Staging

 

Daily Package Link:

https://www.pgyer.com/353840a4c7beffc8922e58b0633e8e5c?sig=k2WHtFrSvnRSAbSZuMzhQGNJHLgi1sOyXPxqqfI3ML4acPVLMufQGiVZHWn6EueLyAJarsyi5lJbVgRqsJpehQ%3D%3D

 

 

Companion Link:

https://www.pgyer.com/JSet

 

 

Password : porsche911

 

—————IOS-Alpha—————

This is the setting for Staging env.

Feature Toggle Overrides = UNDER DEVELOPMENT

网络环境network = Staging

 

Daily Package Link:

https://www.pgyer.com/10c6f8541d619252dd7358da98e3bed4

 

Companion Link:

 

https://www.pgyer.com/PorscheCNCompanionAlpha?sig=dVxtHIuLQdSfQiWgypelUfvj9geXRwuvVLDZSJVdTvZGWHu2WxiTUz%2BgURjKKf38PWkLZyxveWIKGYjeAqIPYQ%3D%3D

 

Password : Porsche911

 

DataBase:

 

【MySQL】数据库:

只读:

user:dev_rouser

pass:EDLxWKfCGVAF2NYi

增删改查:

user:dev_opuser

pass:CbUvdBEVTGtGJv58

dev: mycat-rds-dev.c5g7u1yrqd5l.rds.cn-north-1.amazonaws.com.cn

staging: mycat-rds-staging.c5g7u1yrqd5l.rds.cn-north-1.amazonaws.com.cn

pp: mycat-rds-preprod.c5g7u1yrqd5l.rds.cn-north-1.amazonaws.com.cn

 

localId-dev:

host: myporsche-localid-dev.c5g7u1yrqd5l.rds.cn-north-1.amazonaws.com.cn

user: ssdevadmin

password: Passw0rdSSDEV

 

 

localId-pp:

host: myporsche-localid-preprod.c5g7u1yrqd5l.rds.cn-north-1.amazonaws.com.cn

user: sspreprodadmin

password: Passw0rdSSPREPROD

 

 

【MongoDB】迁移后的VIS数据库:

Host:mycat-preprod.cluster-c5g7u1yrqd5l.docdb.cn-north-1.amazonaws.com.cn 

只读:

user:dev_rouser

pass:EDLxWUuCGVAF2NYi

增删改查:

username: mycatadmin

password: lkfdisofl

 

https://robomongo.org/

 

 

 

嗨!很高兴回答你的问题。

 

如果你想在Linux上搭建Jenkins,你可以按照以下步骤进行操作:

 

1. 安装Java:Jenkins是用Java编写的,所以你需要先安装Java。你可以使用以下命令来安装Java:

 

   ```

   sudo apt-get update

   sudo apt-get install default-jdk

   ```

 

2. 添加Jenkins存储库:你需要添加Jenkins存储库,以便在安装Jenkins时使用。

 

   ```

   wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -

   sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'

   ```

 

3. 更新存储库:运行以下命令以更新存储库。

 

   ```

   sudo apt-get update

   ```

 

4. 安装Jenkins:运行以下命令以安装Jenkins。

 

   ```

   sudo apt-get install jenkins

   ```

 

5. 启动Jenkins:运行以下命令以启动Jenkins。

 

   ```

   sudo systemctl start jenkins

   ```

 

6. 访问Jenkins:在浏览器中输入“http://localhost:8080/”即可访问Jenkins。

 

7. 完成Jenkins设置:按照Jenkins的安装向导进行设置,包括创建管理员用户和安装插件等。

 

希望这些步骤对你有所帮助。如果你有任何

 

 

 

posted @ 2024-07-16 09:46  冬天里的狐狸  阅读(7)  评论(0编辑  收藏  举报