Skip to content

Commit

Permalink
dlnel index page (#194)
Browse files Browse the repository at this point in the history
* switch to dlnel index page

* mount template files

* delete unused comments

* add port env
  • Loading branch information
Yancey1989 committed Jul 6, 2017
1 parent e664206 commit 3b5e00d
Show file tree
Hide file tree
Showing 32 changed files with 13,286 additions and 1 deletion.
17 changes: 17 additions & 0 deletions k8s/cloud_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ spec:
- name: settings
hostPath:
path: /home/pcloud/data/settings.py
#- name: email-tmp-msg:
# hostPath:
# path: /home/pcloud/templates/email_confirmation_message.txt
#- name: email-tmp-subj:
# hostPath:
# path: /home/pcloud/templates/email_confirmation_subject.txt
#- name: homepage
# hostPath:
# path: /home/pcloud/templates/homepage.html
# - name: data-storage
# cephfs:
# name: cephfs
Expand All @@ -38,13 +47,21 @@ spec:
mountPath: /pcloud/paddlecloud/settings.py
# - name: data-storage
# mountPath: /pfs
#- name: homepage
# mountPath: /pcloud/paddlecloud/templates/homepage.html
#- name: email-tmp-msg:
# mountPath: /pcloud/paddlecloud/notebook/account/email/email_confirmation_message.txt
#- name: email-tmp-subj:
# mountPath: /pcloud/paddlecloud/notebook/account/email/email_confirmation_subject.txt
ports:
- containerPort: 8000
env:
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: PORT
value: 8000
# livenessProbe:
# httpGet:
# path: /healthz/
Expand Down
2 changes: 1 addition & 1 deletion paddlecloud/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ npm run copy:fonts && npm run copy:images && npm run copy:fonts && npm run copy:
npm run optimize
WORKDIR /pcloud

CMD ["sh", "-c", "./manage.py migrate; ./manage.py loaddata sites; ./manage.py runserver 0.0.0.0:8000"]
CMD ["sh", "-c", "./manage.py migrate; ./manage.py loaddata sites; ./manage.py runserver 0.0.0.0:$PORT"]
2,808 changes: 2,808 additions & 0 deletions paddlecloud/notebook/static/css/home.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions paddlecloud/notebook/static/css/home.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added paddlecloud/notebook/static/images/baidu_ai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added paddlecloud/notebook/static/images/banner.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added paddlecloud/notebook/static/images/email-pic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added paddlecloud/notebook/static/images/feature-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added paddlecloud/notebook/static/images/feature-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added paddlecloud/notebook/static/images/feature-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added paddlecloud/notebook/static/images/feature-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added paddlecloud/notebook/static/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added paddlecloud/notebook/static/images/pr-code.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added paddlecloud/notebook/static/images/service-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added paddlecloud/notebook/static/images/service-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added paddlecloud/notebook/static/images/service-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added paddlecloud/notebook/static/images/service-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
153 changes: 153 additions & 0 deletions paddlecloud/notebook/static/js/common.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions paddlecloud/notebook/static/js/common.bundle.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3b5e00d

Please sign in to comment.