-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from NeoUKR/NeoUKR
0.1.2.0 Release
- Loading branch information
Showing
116 changed files
with
811 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.vscode | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/.idea/ | ||
/.vscode/ | ||
/venv/ | ||
db.sqlite3 | ||
djangoapp.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Python and Linux Version | ||
# FROM python:3.10.0a1-alpine3.12 | ||
FROM python:3.11.0rc2-bullseye | ||
|
||
# Set environment variables | ||
ENV PYTHONDONTWRITEBYTECODE 1 | ||
ENV PYTHONUNBUFFERED 1 | ||
|
||
COPY requirements.txt /app/requirements.txt | ||
|
||
# Configure server | ||
# RUN set -ex \ | ||
# && pip install --upgrade pip \ | ||
# && pip install --no-cache-dir -r /app/requirements.txt | ||
|
||
RUN ["apt-get", "update"] | ||
RUN ["apt-get", "-y", "install", "vim"] | ||
|
||
# Install chrome driver and selenium | ||
RUN mkdir ./app/tmp/ | ||
WORKDIR /app/tmp | ||
|
||
RUN version=$(curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE") && \ | ||
wget -qP /app/tmp/ "https://chromedriver.storage.googleapis.com/${version}/chromedriver_linux64.zip" | ||
RUN unzip -o chromedriver_linux64.zip -d /usr/local/bin | ||
RUN chmod 755 /usr/local/bin/chromedriver | ||
|
||
RUN ["wget", "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"] | ||
RUN apt-get -y install /app/tmp/google-chrome-stable_current_amd64.deb | ||
|
||
|
||
|
||
# Install libraries | ||
RUN pip install --upgrade pip | ||
RUN pip install -r /app/requirements.txt | ||
|
||
# Working directory | ||
WORKDIR /app | ||
|
||
ADD . . | ||
|
||
# RUN python3 manage.py test pullgerReflection.com_linkedin.tests.end_to_end | ||
|
||
# EXPOSE 8000 | ||
|
||
# CMD ["gunicorn", "--bind", ":8000", "--workers", "3", "core.wsgi:application"] | ||
|
||
# CMD gunicorn config.wsgi:application --bind 0.0.0.0:$PORT | ||
|
||
# CMD ["gunicorn", "config.wsgi:application", "--bind", "0.0.0.0:$PORT"] | ||
|
||
CMD python manage.py runserver 0.0.0.0:$PORT | ||
|
||
# CMD ["bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Python and Linux Version | ||
# FROM python:3.10.0a1-alpine3.12 | ||
FROM python:3.11.0rc2-bullseye | ||
|
||
# Set environment variables | ||
ENV PYTHONDONTWRITEBYTECODE 1 | ||
ENV PYTHONUNBUFFERED 1 | ||
|
||
COPY requirements.txt /app/requirements.txt | ||
|
||
# Configure server | ||
# RUN set -ex \ | ||
# && pip install --upgrade pip \ | ||
# && pip install --no-cache-dir -r /app/requirements.txt | ||
|
||
RUN ["apt-get", "update"] | ||
RUN ["apt-get", "-y", "install", "vim"] | ||
|
||
# Install chrome driver and selenium | ||
RUN mkdir ./app/tmp/ | ||
WORKDIR /app/tmp | ||
|
||
RUN version=$(curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE") && \ | ||
wget -qP /app/tmp/ "https://chromedriver.storage.googleapis.com/${version}/chromedriver_linux64.zip" | ||
RUN unzip -o chromedriver_linux64.zip -d /usr/local/bin | ||
RUN chmod 755 /usr/local/bin/chromedriver | ||
|
||
RUN ["wget", "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"] | ||
RUN apt-get -y install /app/tmp/google-chrome-stable_current_amd64.deb | ||
|
||
|
||
|
||
# Install libraries | ||
RUN pip install --upgrade pip | ||
RUN pip install -r /app/requirements.txt | ||
|
||
# Working directory | ||
WORKDIR /app | ||
|
||
ADD . . | ||
|
||
# RUN python3 manage.py test pullgerReflection.com_linkedin.tests.end_to_end | ||
|
||
# EXPOSE 8000 | ||
|
||
# CMD ["gunicorn", "--bind", ":8000", "--workers", "3", "core.wsgi:application"] | ||
|
||
# CMD gunicorn config.wsgi:application --bind 0.0.0.0:8000 | ||
|
||
CMD ["bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Python and Linux Version | ||
# FROM python:3.10.0a1-alpine3.12 | ||
FROM python:3.11.0rc2-bullseye | ||
|
||
# Set environment variables | ||
ENV PYTHONDONTWRITEBYTECODE 1 | ||
ENV PYTHONUNBUFFERED 1 | ||
|
||
COPY requirements.txt /app/requirements.txt | ||
|
||
# Configure server | ||
# RUN set -ex \ | ||
# && pip install --upgrade pip \ | ||
# && pip install --no-cache-dir -r /app/requirements.txt | ||
|
||
RUN ["apt-get", "update"] | ||
RUN ["apt-get", "-y", "install", "vim"] | ||
|
||
# Install chrome driver and selenium | ||
RUN mkdir ./app/tmp/ | ||
WORKDIR /app/tmp | ||
|
||
RUN version=$(curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE") && \ | ||
wget -qP /app/tmp/ "https://chromedriver.storage.googleapis.com/${version}/chromedriver_linux64.zip" | ||
RUN unzip -o chromedriver_linux64.zip -d /usr/local/bin | ||
RUN chmod 755 /usr/local/bin/chromedriver | ||
|
||
RUN ["wget", "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"] | ||
RUN apt-get -y install /app/tmp/google-chrome-stable_current_amd64.deb | ||
|
||
|
||
|
||
# Install libraries | ||
RUN pip install --upgrade pip | ||
RUN pip install -r /app/requirements.txt | ||
|
||
# Working directory | ||
WORKDIR /app | ||
|
||
ADD . . | ||
|
||
# RUN python3 manage.py test pullgerReflection.com_linkedin.tests.end_to_end | ||
|
||
# CMD ["gunicorn", "--bind", ":8000", "--workers", "3", "core.wsgi:application"] | ||
|
||
# CMD gunicorn config.wsgi:application --bind 0.0.0.0:8000 | ||
|
||
EXPOSE 8000 | ||
|
||
CMD ["bash","test_script.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .version import * |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Version history [pullgerLinkedIN_FULL] | ||
|
||
{0.2.0.0} [pullgerLinkedIN_FULL] | ||
- cumulative update | ||
|
||
{0.1.2.0} [pullgerLinkedIN_FULL] | ||
- fixing | ||
|
||
{0.1.1.0} [pullgerLinkedIN_FULL] | ||
- add submodule [pullgerInternalControl] | ||
|
||
{0.1.0.0} [pullgerLinkedIN_FULL] | ||
- cumulative update | ||
|
||
{0.0.3.0} [pullgerLinkedIN_FULL] | ||
- [pullgerMultiSessionManager] {0.0.3.0} | ||
|
||
{0.0.2.0} [pullgerLinkedIN_FULL] | ||
- [pullgerExceptions] {0.0.1.0} | ||
- [pullgerReflection/com_linkedin__TT] {0.0.2.1} | ||
- [pullgerReflection/com_linkedin] {0.0.5.1} | ||
|
||
{0.0.1.0} [pullgerLinkedIN_FULL] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
VERSION = (0, 0, 2, 0) | ||
VERSION = (0, 2, 0, 0) | ||
VERSION_INFO = '.'.join(str(nv) for nv in VERSION) | ||
__version__ = VERSION_INFO | ||
|
||
# 0.0.2.0 | ||
# [pullgerExceptions] {0.0.1.0} | ||
# [pullgerReflection/com_linkedin__TT] {0.0.2.1} | ||
# [pullgerReflection/com_linkedin] {0.0.5.1} | ||
|
||
# 0.0.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
docker build -t linked_dj . | ||
docker run --rm -t -i -p 8000:8000 linked_dj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
python manage.py -r requirement.txt | ||
python manage.py makemigrations pullgerAccountManager | ||
python manage.py migrate | ||
python manage.py createsuperuser |
Submodule pullgerAccountManager
updated
32 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__pycache__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# pullgerMultiSessionManager_REST |
Empty file.
Oops, something went wrong.