-
-
Notifications
You must be signed in to change notification settings - Fork 864
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
217 changed files
with
5,237 additions
and
1,946 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,10 @@ | ||
# Copying this over will mess up database settings | ||
*/*/local_settings.py | ||
|
||
# Dependencies | ||
node_modules/ | ||
venv/ | ||
|
||
# Compilations | ||
tabbycat/staticfiles/ | ||
docs/ |
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 |
---|---|---|
@@ -1 +1 @@ | ||
3.5.1 | ||
3.6.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
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ Authors | |
|
||
Tabbycat was authored by Qi-Shan Lim for Auckland Australs 2010. The current active developers are: | ||
|
||
- Philip Belesky (`e-mail <http://www.google.com/recaptcha/mailhide/d?k=01aItEbHtwnn1PzIPGGM9W8A==&c=XWljk2iGokfhziV2Rt4OiKA5uab1vCrnxwXcPUsWgnM=>`_) | ||
- Chuan-Zheng Lee (`e-mail <mailto:[email protected]>`_) | ||
- Philip Belesky (`pb-e-mail <http://www.google.com/recaptcha/mailhide/d?k=01aItEbHtwnn1PzIPGGM9W8A==&c=XWljk2iGokfhziV2Rt4OiKA5uab1vCrnxwXcPUsWgnM=>`_) | ||
- Chuan-Zheng Lee (`cz-e-mail <mailto:[email protected]>`_) | ||
|
||
Please don't hesitate to contact us with any suggestions, expressions of interest or generally anything relating to Tabbycat. |
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,29 @@ | ||
# Docker file lists all the commands needed to setup a fresh linux instance to | ||
# run the application specified. docker-compose does not use this. | ||
|
||
# Grab a python image | ||
FROM python:3.6 | ||
|
||
# Just needed for all things python (note this is setting an env variable) | ||
ENV PYTHONUNBUFFERED 1 | ||
|
||
# Setup Node/NPM | ||
RUN apt-get update && apt-get install curl | ||
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash && apt-get install -y nodejs | ||
|
||
# Copy all our files into the baseimage and cd to that directory | ||
RUN mkdir /tcd | ||
WORKDIR /tcd | ||
# Can this be skipped? Takes ages | ||
ADD . /tcd/ | ||
|
||
# Set git to use HTTPS (SSH is often blocked by firewalls) | ||
RUN git config --global url."https://".insteadOf git:// | ||
|
||
# Install our node/python requirements | ||
RUN pip install -r ./requirements_common.txt | ||
RUN npm install | ||
|
||
# Compile all the static files | ||
RUN npm rebuild node-sass | ||
RUN python ./tabbycat/manage.py collectstatic --no-input |
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
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,7 @@ | ||
# Declare files that will always have LF line endings on checkout. | ||
|
||
# The docker wait/run commands need this for Windows compatibility | ||
# Error is ": No such file or directory/usr/bin/env: bash" | ||
# See: https://github.com/deviantony/docker-elk/issues/36 | ||
|
||
docker-*.sh text eol=lf |
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,12 @@ | ||
#!/usr/bin/env bash | ||
# Shorthand to migrate and runserver in docker | ||
|
||
# Move up to where we can run commands | ||
cd tabbycat | ||
|
||
# Migrate (can't do it during build; no db connnection) | ||
python ./manage.py migrate --no-input | ||
|
||
# Run the server | ||
# python ./manage.py runserver 0.0.0.0:8000 | ||
python ./manage.py runserver 0.0.0.0:8000 |
Oops, something went wrong.