From 804245d7f75ce40e84791af8a1884d81998a5ae1 Mon Sep 17 00:00:00 2001 From: William Zhang Date: Wed, 2 May 2018 15:40:31 -0400 Subject: [PATCH] init move --- .env | 1 + .gitignore | 1 + Gemfile | 29 ----- _posts/2017-09-04-welcome-to-jekyll.markdown | 25 ---- sgawebsite/main/__init__.py | 0 sgawebsite/main/admin.py | 3 + sgawebsite/main/apps.py | 5 + sgawebsite/main/migrations/__init__.py | 0 sgawebsite/main/models.py | 3 + sgawebsite/main/tests.py | 3 + sgawebsite/main/views.py | 3 + sgawebsite/manage.py | 22 ++++ sgawebsite/sgawebsite/__init__.py | 0 .../__pycache__/__init__.cpython-36.pyc | Bin 0 -> 136 bytes .../__pycache__/settings.cpython-36.pyc | Bin 0 -> 2253 bytes sgawebsite/sgawebsite/settings.py | 120 ++++++++++++++++++ sgawebsite/sgawebsite/urls.py | 21 +++ sgawebsite/sgawebsite/wsgi.py | 16 +++ {css => sgawebsite/static/css}/about.css | 0 {css => sgawebsite/static/css}/footer.css | 0 {css => sgawebsite/static/css}/header.css | 0 {css => sgawebsite/static/css}/main.css | 0 {css => sgawebsite/static/css}/responsive.css | 0 .../static/icons}/favicon.ico | Bin {icons => sgawebsite/static/icons}/fb.jpg | Bin {icons => sgawebsite/static/icons}/flickr.png | Bin {icons => sgawebsite/static/icons}/mail.jpg | Bin {icons => sgawebsite/static/icons}/menu.png | Bin {icons => sgawebsite/static/icons}/menu.svg | 0 {icons => sgawebsite/static/icons}/tw.jpg | Bin {img => sgawebsite/static/img}/DSC09503.jpg | Bin {img => sgawebsite/static/img}/bg.jpg | Bin .../static/img}/dome-original.png | Bin {img => sgawebsite/static/img}/group.jpg | Bin {img => sgawebsite/static/img}/logo.png | Bin .../static/img}/originals.tar.gz | Bin .../static/img}/people/2018alin.jpg | Bin .../static/img}/people/2018alulushi.jpg | Bin .../static/img}/people/2018jprabhal.jpg | Bin .../static/img}/people/2018jwang.jpg | Bin .../static/img}/people/2018kdu.jpg | Bin .../static/img}/people/2018llin.jpg | Bin .../static/img}/people/2018nbegotka.jpg | Bin .../static/img}/people/2018schappid.jpg | Bin .../static/img}/people/2018sxie.jpg | Bin .../static/img}/people/2018wzhang.jpg | Bin .../static/img}/people/2019amohidee.jpg | Bin .../static/img}/people/2019ephillip.jpg | Bin .../static/img}/people/2019lgersony.jpg | Bin .../static/img}/people/2019lkeesing.jpg | Bin .../static/img}/people/2019mcho.jpg | Bin .../static/img}/people/2019skazmi.jpg | Bin .../static/img}/people/2019suppalap.jpg | Bin .../static/img}/people/2020bandrade.jpg | Bin .../static/img}/people/2020dbedi.jpg | Bin .../static/img}/people/2020mdass.jpg | Bin .../static/img}/people/2020mhuang.jpg | Bin .../static/img}/people/2020mkyryche.jpg | Bin .../static/img}/people/2020rkalra.jpg | Bin .../static/img}/people/ahurowit.jpg | Bin .../static/img}/people/convert.sh | 0 .../static/img}/people/mrazzino.jpg | Bin {img => sgawebsite/static/img}/profile.jpg | Bin {img => sgawebsite/static/img}/web-image.sh | 0 {js => sgawebsite/static/js}/sidebar-min.js | 0 {js => sgawebsite/static/js}/sidebar.js | 0 404.html => sgawebsite/templates/404.html | 0 about.html => sgawebsite/templates/about.html | 0 forms.html => sgawebsite/templates/forms.html | 0 index.html => sgawebsite/templates/index.html | 0 .../templates/resources.html | 0 71 files changed, 198 insertions(+), 54 deletions(-) create mode 100644 .env delete mode 100644 Gemfile delete mode 100644 _posts/2017-09-04-welcome-to-jekyll.markdown create mode 100644 sgawebsite/main/__init__.py create mode 100644 sgawebsite/main/admin.py create mode 100644 sgawebsite/main/apps.py create mode 100644 sgawebsite/main/migrations/__init__.py create mode 100644 sgawebsite/main/models.py create mode 100644 sgawebsite/main/tests.py create mode 100644 sgawebsite/main/views.py create mode 100755 sgawebsite/manage.py create mode 100644 sgawebsite/sgawebsite/__init__.py create mode 100644 sgawebsite/sgawebsite/__pycache__/__init__.cpython-36.pyc create mode 100644 sgawebsite/sgawebsite/__pycache__/settings.cpython-36.pyc create mode 100644 sgawebsite/sgawebsite/settings.py create mode 100644 sgawebsite/sgawebsite/urls.py create mode 100644 sgawebsite/sgawebsite/wsgi.py rename {css => sgawebsite/static/css}/about.css (100%) rename {css => sgawebsite/static/css}/footer.css (100%) rename {css => sgawebsite/static/css}/header.css (100%) rename {css => sgawebsite/static/css}/main.css (100%) rename {css => sgawebsite/static/css}/responsive.css (100%) rename {icons => sgawebsite/static/icons}/favicon.ico (100%) rename {icons => sgawebsite/static/icons}/fb.jpg (100%) rename {icons => sgawebsite/static/icons}/flickr.png (100%) rename {icons => sgawebsite/static/icons}/mail.jpg (100%) rename {icons => sgawebsite/static/icons}/menu.png (100%) rename {icons => sgawebsite/static/icons}/menu.svg (100%) rename {icons => sgawebsite/static/icons}/tw.jpg (100%) rename {img => sgawebsite/static/img}/DSC09503.jpg (100%) rename {img => sgawebsite/static/img}/bg.jpg (100%) rename {img => sgawebsite/static/img}/dome-original.png (100%) rename {img => sgawebsite/static/img}/group.jpg (100%) rename {img => sgawebsite/static/img}/logo.png (100%) rename {img => sgawebsite/static/img}/originals.tar.gz (100%) rename {img => sgawebsite/static/img}/people/2018alin.jpg (100%) rename {img => sgawebsite/static/img}/people/2018alulushi.jpg (100%) rename {img => sgawebsite/static/img}/people/2018jprabhal.jpg (100%) rename {img => sgawebsite/static/img}/people/2018jwang.jpg (100%) rename {img => sgawebsite/static/img}/people/2018kdu.jpg (100%) rename {img => sgawebsite/static/img}/people/2018llin.jpg (100%) rename {img => sgawebsite/static/img}/people/2018nbegotka.jpg (100%) rename {img => sgawebsite/static/img}/people/2018schappid.jpg (100%) rename {img => sgawebsite/static/img}/people/2018sxie.jpg (100%) rename {img => sgawebsite/static/img}/people/2018wzhang.jpg (100%) rename {img => sgawebsite/static/img}/people/2019amohidee.jpg (100%) rename {img => sgawebsite/static/img}/people/2019ephillip.jpg (100%) rename {img => sgawebsite/static/img}/people/2019lgersony.jpg (100%) rename {img => sgawebsite/static/img}/people/2019lkeesing.jpg (100%) rename {img => sgawebsite/static/img}/people/2019mcho.jpg (100%) rename {img => sgawebsite/static/img}/people/2019skazmi.jpg (100%) rename {img => sgawebsite/static/img}/people/2019suppalap.jpg (100%) rename {img => sgawebsite/static/img}/people/2020bandrade.jpg (100%) rename {img => sgawebsite/static/img}/people/2020dbedi.jpg (100%) rename {img => sgawebsite/static/img}/people/2020mdass.jpg (100%) rename {img => sgawebsite/static/img}/people/2020mhuang.jpg (100%) rename {img => sgawebsite/static/img}/people/2020mkyryche.jpg (100%) rename {img => sgawebsite/static/img}/people/2020rkalra.jpg (100%) rename {img => sgawebsite/static/img}/people/ahurowit.jpg (100%) rename {img => sgawebsite/static/img}/people/convert.sh (100%) rename {img => sgawebsite/static/img}/people/mrazzino.jpg (100%) rename {img => sgawebsite/static/img}/profile.jpg (100%) rename {img => sgawebsite/static/img}/web-image.sh (100%) rename {js => sgawebsite/static/js}/sidebar-min.js (100%) rename {js => sgawebsite/static/js}/sidebar.js (100%) rename 404.html => sgawebsite/templates/404.html (100%) rename about.html => sgawebsite/templates/about.html (100%) rename forms.html => sgawebsite/templates/forms.html (100%) rename index.html => sgawebsite/templates/index.html (100%) rename resources.html => sgawebsite/templates/resources.html (100%) diff --git a/.env b/.env new file mode 100644 index 0000000..d66dd13 --- /dev/null +++ b/.env @@ -0,0 +1 @@ +source /var/www/sgawebsite/env/bin/activate diff --git a/.gitignore b/.gitignore index 19cb45c..a392d8c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ _site .jekyll-metadata Gemfile.lock gems/ +env/ diff --git a/Gemfile b/Gemfile deleted file mode 100644 index d87e1e9..0000000 --- a/Gemfile +++ /dev/null @@ -1,29 +0,0 @@ -source "https://rubygems.org" - -# Hello! This is where you manage which Jekyll version is used to run. -# When you want to use a different version, change it below, save the -# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: -# -# bundle exec jekyll serve -# -# This will help ensure the proper Jekyll version is running. -# Happy Jekylling! -gem "jekyll", "3.5.2" - -# This is the default theme for new Jekyll sites. You may change this to anything you like. -gem "minima", "~> 2.0" -gem "hash-joiner", "~> 0.0.7" -gem "json", "~> 2.1.0" - -# If you want to use GitHub Pages, remove the "gem "jekyll"" above and -# uncomment the line below. To upgrade, run `bundle update github-pages`. -# gem "github-pages", group: :jekyll_plugins - -# If you have any plugins, put them here! -group :jekyll_plugins do - gem "jekyll-feed", "~> 0.6" -end - -# Windows does not include zoneinfo files, so bundle the tzinfo-data gem -gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] - diff --git a/_posts/2017-09-04-welcome-to-jekyll.markdown b/_posts/2017-09-04-welcome-to-jekyll.markdown deleted file mode 100644 index b8a69a2..0000000 --- a/_posts/2017-09-04-welcome-to-jekyll.markdown +++ /dev/null @@ -1,25 +0,0 @@ ---- -layout: post -title: "Welcome to Jekyll!" -date: 2017-09-04 13:44:53 -0400 -categories: jekyll update ---- -You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. - -To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works. - -Jekyll also offers powerful support for code snippets: - -{% highlight ruby %} -def print_hi(name) - puts "Hi, #{name}" -end -print_hi('Tom') -#=> prints 'Hi, Tom' to STDOUT. -{% endhighlight %} - -Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk]. - -[jekyll-docs]: https://jekyllrb.com/docs/home -[jekyll-gh]: https://github.com/jekyll/jekyll -[jekyll-talk]: https://talk.jekyllrb.com/ diff --git a/sgawebsite/main/__init__.py b/sgawebsite/main/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/sgawebsite/main/admin.py b/sgawebsite/main/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/sgawebsite/main/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/sgawebsite/main/apps.py b/sgawebsite/main/apps.py new file mode 100644 index 0000000..833bff6 --- /dev/null +++ b/sgawebsite/main/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class MainConfig(AppConfig): + name = 'main' diff --git a/sgawebsite/main/migrations/__init__.py b/sgawebsite/main/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/sgawebsite/main/models.py b/sgawebsite/main/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/sgawebsite/main/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/sgawebsite/main/tests.py b/sgawebsite/main/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/sgawebsite/main/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/sgawebsite/main/views.py b/sgawebsite/main/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/sgawebsite/main/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/sgawebsite/manage.py b/sgawebsite/manage.py new file mode 100755 index 0000000..5b67c94 --- /dev/null +++ b/sgawebsite/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +import os +import sys + +if __name__ == "__main__": + os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sgawebsite.settings") + try: + from django.core.management import execute_from_command_line + except ImportError: + # The above import may fail for some other reason. Ensure that the + # issue is really that Django is missing to avoid masking other + # exceptions on Python 2. + try: + import django + except ImportError: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) + raise + execute_from_command_line(sys.argv) diff --git a/sgawebsite/sgawebsite/__init__.py b/sgawebsite/sgawebsite/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/sgawebsite/sgawebsite/__pycache__/__init__.cpython-36.pyc b/sgawebsite/sgawebsite/__pycache__/__init__.cpython-36.pyc new file mode 100644 index 0000000000000000000000000000000000000000..08cf76b3c9c78a6edbbe9be74d987d4a22203570 GIT binary patch literal 136 zcmXr!<>l%WdKJY01dl-k3@`#24nSPY0whuxf*CX!{Z=v*frJsnFH`-p#3KFj@^by+ q^u+Siq~gqyR2M!Ukb zUU}+&;1Be#^e5=GPwh|WQ%AC$_&D^CdadzjF5k?~&aC&=*NeYx{;l6xOQrryEqn^d zKf{Opfdo=|3eu3V(|VeuhnZn^feK{heL7xx4zhY41ifIT^i^1a9OR(@t5CFZdJ)dS z8mz+xoQDf=(aP)RU{ha%OI8X5*n-P&1+Kz1OQ31^?1NyX^>w(eZ@>+>nZ!Cza`5^4 z41Dn+L(}>NxCJ6w-hwX^`c*=2)3hb%7vYY+33v5Nn8_ACm+`p*U+Y&Pqo#K5nfKGF zRIxfVUCR?0;hee_6Z@VoGRqv3E~A`?Bi|d69+!&61L6|j(UgT4~WXMQX#;~5J6%Hy)3q7tc zdvH8~UR-w;?#^@$1+dB3^ohhsFYqa!Na~Df9P7dd%TTl6(t^J_l`VMfoDPBq>UgeH zNq#QLK^XXEwM!t=wYXGLmImpXw{C$7Z@C;mU3)qgrFhqD|{0G^!{pcy#C zr@hk%E5zLmn4axum9S943ms>sv~w-W8wOs*h7n~v76~Jh53u^wcd^Z*yxC=mq+l5F zO=1{&;km3T@li%aRjITU&3L8!60KB~=beLSU9Q(#M@rRr*-|w%+Nd>E4Mixx^H-x{ zqgJifl_R;WL~HFvg$#(2)-mqtdD>2wQ6?hTg)qD0DFGTKREv z%GJx?H=|rE({$X4hLI|9HovF*Ti7}Y`R8Hjo#~gx<8kSvSO1Hh{kuw|NmTgJ@gT6t z({qT#+DL>