Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
2ab11b6
home/recruit finished
dbswjd7 Feb 19, 2023
fdf1b62
home/recruit 완료
dbswjd7 Feb 19, 2023
fe7cb36
Merge branch 'haeun' of https://github.com/E-COPS/web_back into haeun
spiritstone Feb 20, 2023
9f21db0
Update index.html
rosieposiess Feb 20, 2023
ff3bfa8
Delete logo192.png
rosieposiess Feb 20, 2023
8f8b87d
로고 사진 수정
rosieposiess Feb 20, 2023
3f387a1
Delete logo512.png
rosieposiess Feb 20, 2023
5ef3411
Change logo file
rosieposiess Feb 20, 2023
92f1c7e
Delete favicon.ico
rosieposiess Feb 20, 2023
d1e4e0c
favicon.ico 수정
rosieposiess Feb 20, 2023
701635b
새 빌드파일
spiritstone Feb 20, 2023
ed1c205
home/recruit 모바일까지 완료
dbswjd7 Feb 21, 2023
93958d0
Merge branch 'haeun' of https://github.com/E-COPS/web_back into haeun
spiritstone Feb 21, 2023
a43c3dd
pycache
spiritstone Feb 21, 2023
0c0cc64
new_build 폴더 삭제
spiritstone Feb 21, 2023
1dc59ee
new build folder
spiritstone Feb 21, 2023
e2277e3
02/21 18:36pm
dbswjd7 Feb 21, 2023
ca9bc58
02/21 18:36pm
dbswjd7 Feb 21, 2023
0cbeee8
PC버전 포스터 복구
dbswjd7 Feb 22, 2023
729a536
.config 복구
dbswjd7 Feb 22, 2023
3ff0684
오타 수정
rosieposiess Feb 22, 2023
74ff095
Solve Infinite Redirect Error
Feb 22, 2023
596cea8
static 경로 문제 해결
Feb 22, 2023
35f916f
Merge branches 'haeun' and 'haeun' of https://github.com/E-COPS/web_b…
spiritstone Feb 24, 2023
a11d049
[new build]
spiritstone Feb 24, 2023
29d5cf2
반응형 반영
Feb 24, 2023
8cde393
반응형 반영
rosieposiess Feb 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 22 additions & 7 deletions .config/nginx/mysite.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,37 @@ server {
server_name *.compute.amazonaws.com *.ecops.site;
charset utf-8;
client_max_body_size 128M;

location / {
uwsgi_pass unix:///tmp/mysite.sock;
include uwsgi_params;
}
location /static/ {
alias /home/ubuntu/ecops/back_src/web_back/static/;

location /manifest.json {

alias /home/ubuntu/ecops/back_src/web_back/static/manifest.json;

}
if ($http_x_forwarded_proto = 'http'){
return 301 https://$host$request_uri;

location /recruitment/fonts/ {

alias /home/ubuntu/ecops/back_src/web_back/static/fonts/;

}

location /fonts/ {
alias /home/ubuntu/ecops/back_src/web_back/static/fonts/;
}

location /static/ {
alias /home/ubuntu/ecops/back_src/web_back/static/;
}

location /static/media/ {

alias /home/ubuntu/ecops/back_src/web_back/static/media/;
}

# return 301 https://$host$request_uri;

}
}
3 changes: 1 addition & 2 deletions .config/uwsgi/mysite.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ home = /home/ubuntu/venv/

uid = ubuntu
gid = ubuntu

socket = /tmp/mysite.sock
chmod-socket = 666
chown-socket = ubuntu:ubuntu
Expand All @@ -16,4 +16,3 @@ vacuum = true
pidfile = /tmp/mysite.pid
logto = /var/log/uwsgi/mysite/@(exec://date +%%Y-%%m-%%d).log
log-reopen = true

2 changes: 1 addition & 1 deletion .config/uwsgi/mysite.ini.save
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@



uwsgi --http :8000 --home /home/ubuntu/venv --chdir /home/ubuntu/ecops/back_src/web_back -w mysite.wsgi
uwsgi --http :8000 --home /home/ubuntu/venv --chdir /home/ubuntu/ecops/back_src/web_back -w mysite.wsgi
2 changes: 1 addition & 1 deletion .config/uwsgi/nano.save
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tu/venv --chdir /home/ubuntu/ecops/back_src/web_back -w mysite.wsgi
tu/venv --chdir /home/ubuntu/ecops/back_src/web_back -w mysite.wsgi
8 changes: 4 additions & 4 deletions .config/uwsgi/uwsgi.service
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[Unit]
Description=uWSGI service
After=syslog.target

[Service]
ExecStart=/home/ubuntu/venv/bin/uwsgi -i /home/ubuntu/ecops/back_src/web_back/.config/uwsgi/mysite.ini

Restart=always
KillSignal=SIGQUIT
Type=notify
StandardError=syslog
NotifyAccess=all

[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target
1 change: 0 additions & 1 deletion .idea/vcs.xml

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

Binary file modified app/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file modified app/__pycache__/admin.cpython-311.pyc
Binary file not shown.
Binary file modified app/__pycache__/apps.cpython-311.pyc
Binary file not shown.
Binary file modified app/__pycache__/models.cpython-311.pyc
Binary file not shown.
Binary file modified app/__pycache__/urls.cpython-311.pyc
Binary file not shown.
Binary file modified app/__pycache__/views.cpython-311.pyc
Binary file not shown.
2 changes: 2 additions & 0 deletions app/urls.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
from django.views.generic import TemplateView
from django.urls import path

import app.views

urlpatterns = [
#main page
path('', TemplateView.as_view(template_name='index.html'), name='index'),
#path('',app.views.notion, name='notion'),

#Program
path('program/', TemplateView.as_view(template_name='index.html'), name='program'),
Expand Down
2 changes: 2 additions & 0 deletions app/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
from django.views import generic

import os
def notion(request):
return render(request, "https://www.notion.so/ewhaecops/E-COPS-12th-Recruiting-81f6ece018cd49b68eaa1997996213a8")

import mysite.settings
Binary file modified mysite/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file modified mysite/__pycache__/settings.cpython-311.pyc
Binary file not shown.
Binary file modified mysite/__pycache__/urls.cpython-311.pyc
Binary file not shown.
6 changes: 2 additions & 4 deletions mysite/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,10 @@
# https://docs.djangoproject.com/en/4.0/howto/static-files/


STATIC_ROOT = os.path.join('static')
STATIC_URL = 'static/'
STATIC_ROOT = os.path.join('staticfiles')
STATIC_URL = '/static/'

STATICFILES_DIRS = [
#os.path.join(APPS_DIR,'static'),
os.path.join(BASE_DIR, 'static'),
]

Expand All @@ -165,7 +164,6 @@
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
]


# Default primary key field type
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field

Expand Down
3 changes: 3 additions & 0 deletions path.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
STATIC_ROOT staticfiles
STATICFILES_DIR ['/home/ubuntu/ecops/back_src/web_back/static']
MEDIA_ROOT /home/ubuntu/ecops/back_src/web_back/media
16 changes: 8 additions & 8 deletions static/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"files": {
"main.css": "/static/css/main.37b9a8ed.css",
"main.js": "/static/js/main.ae28d0e5.js",
"static/media/logo-img.png": "/static/media/logo-img.3c1baf3df247a0212975.png",
"main.css": "/static/css/main.a4ea29ae.css",
"main.js": "/static/js/main.3b04e5fb.js",
"static/media/ewha_symbol.png": "/static/media/ewha_symbol.8a35bde01c62d01eaa4b.png",
"static/media/12th_recruit_poster.jpg": "/static/media/12th_recruit_poster.d0213b5d09c414954df4.jpg",
"static/media/backend-icon.png": "/static/media/backend-icon.85c4c8e53c619509fb76.png",
"static/media/frontend-icon.png": "/static/media/frontend-icon.22141774a29a8be0f7ef.png",
"static/media/blog-icon.png": "/static/media/blog-icon.145572b7ca8d314d1baa.png",
"static/media/mail-icon.png": "/static/media/mail-icon.6e5c4aed6731f113a18c.png",
"static/media/ewha_logo.png": "/static/media/ewha_logo.c756159dd9ed34344432.png",
"static/media/design-icon.png": "/static/media/design-icon.cdda9c291367a2a801cc.png",
"static/media/insta-icon.png": "/static/media/insta-icon.16b8b3de5e04a8aa4149.png",
"static/media/feedback-icon.png": "/static/media/feedback-icon.0076bd43a08afce7d37a.png",
"static/media/github-icon.png": "/static/media/github-icon.417dee75ff01906da4f5.png",
"index.html": "/index.html",
"main.37b9a8ed.css.map": "/static/css/main.37b9a8ed.css.map",
"main.ae28d0e5.js.map": "/static/js/main.ae28d0e5.js.map"
"main.a4ea29ae.css.map": "/static/css/main.a4ea29ae.css.map",
"main.3b04e5fb.js.map": "/static/js/main.3b04e5fb.js.map"
},
"entrypoints": [
"static/css/main.37b9a8ed.css",
"static/js/main.ae28d0e5.js"
"static/css/main.a4ea29ae.css",
"static/js/main.3b04e5fb.js"
]
}
Binary file added static/backend-icon.85c4c8e53c619509fb76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion static/css/main.37b9a8ed.css.map

This file was deleted.

4 changes: 2 additions & 2 deletions static/css/main.37b9a8ed.css → static/css/main.a4ea29ae.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions static/css/main.a4ea29ae.css.map

Large diffs are not rendered by default.

Binary file added static/design-icon.cdda9c291367a2a801cc.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 removed static/favicon.ico
Binary file not shown.
Binary file added static/fonts/Inter-VariableFont_slnt,wght.ttf
Binary file not shown.
Binary file added static/frontend-icon.22141774a29a8be0f7ef.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 1 addition & 18 deletions static/index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<link rel="icon" href="/favicon.ico"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="theme-color" content="#000000"/>
<meta name="description" content="Web site created using create-react-app"/>
<link rel="apple-touch-icon" href="static/logo192.png"/>
<link rel="manifest" href="static/manifest.json"/>
<title>React App</title>
<script defer="defer" src="/static/js/main.ae28d0e5.js"></script>
<link href="/static/css/main.37b9a8ed.css" rel="stylesheet"></head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>E-COPS</title><script defer="defer" src="/static/js/main.3b04e5fb.js"></script><link href="/static/css/main.a4ea29ae.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
3 changes: 3 additions & 0 deletions static/js/main.3b04e5fb.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,16 @@
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react-jsx-runtime.production.min.js
Expand Down Expand Up @@ -163,7 +173,7 @@
*/

/**
* @remix-run/router v1.2.1
* @remix-run/router v1.3.2
*
* Copyright (c) Remix Software Inc.
*
Expand All @@ -174,7 +184,7 @@
*/

/**
* React Router DOM v6.6.2
* React Router DOM v6.8.1
*
* Copyright (c) Remix Software Inc.
*
Expand All @@ -185,7 +195,7 @@
*/

/**
* React Router v6.6.2
* React Router v6.8.1
*
* Copyright (c) Remix Software Inc.
*
Expand Down
1 change: 1 addition & 0 deletions static/js/main.3b04e5fb.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions static/js/main.ae28d0e5.js

This file was deleted.

1 change: 0 additions & 1 deletion static/js/main.ae28d0e5.js.map

This file was deleted.

Binary file modified static/logo192.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 modified static/logo512.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 removed static/media/ewha_logo.c756159dd9ed34344432.png
Binary file not shown.
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 static/media/favicon.ico
Binary file not shown.
Binary file removed static/media/logo-img.3c1baf3df247a0212975.png
Binary file not shown.