Skip to content

Commit

Permalink
Merge pull request #263 from Spacelog/remove-cruft
Browse files Browse the repository at this point in the history
Remove various tools we no longer need
  • Loading branch information
SteveMarshall committed Mar 29, 2024
2 parents d69f5b9 + ee0c7d0 commit 51e4792
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 435 deletions.
61 changes: 0 additions & 61 deletions DEPLOY.md

This file was deleted.

22 changes: 0 additions & 22 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ PROJECT_DOMAIN ?= dev.spacelog.org

all: reindex collectstatic

dirty: copyxapian productioncss copy_statsporn

collectstatic: productioncss statsporn
DJANGOENV=live $(PYTHON) -m website.manage collectstatic --noinput --ignore=*.scss
DJANGOENV=live $(PYTHON) -m global.manage collectstatic --noinput --ignore=*.scss
Expand All @@ -27,21 +25,11 @@ reindex: $(indexer)
rm -rf xappydb
$(PYTHON) -m backend.indexer

# backwards compatibility
build_statsporn: statsporn

statsporn:
$(PYTHON) -m backend.stats_porn

copy_statsporn:
$(foreach d, $(wildcard ../current/missions/*/images/stats), cp -a $d `echo $d | sed 's#../current/##'`;)

productioncss: $(website_css_targets) $(global_css_targets)

# only use this in production, it'll explode entertainingly otherwhere
copyxapian:
cp -a ../current/xappydb xappydb

$(website_css_targets): $(website_scss_sources) $(website_scss_components)
$(SASS) -t compressed $(@:.css=.scss) > $@

Expand Down Expand Up @@ -71,16 +59,6 @@ prodserver_global:
-c global/configs/live/global_gunicorn.py \
global.configs.live.global_wsgi

thumbnails:
cd website/static/img/missions/a13/; $(PYTHON) resize.py

# assume there's no artemis screen session already, and just make one from scratch
screen:
screen -dmS artemis
sleep 1
screen -r artemis -X source screenstart
screen -r artemis

nginx_proxy:
sed \
-e 's|$${NGINX_PORT}|'"${NGINX_PORT}"'|g' \
Expand Down
15 changes: 0 additions & 15 deletions Vagrantfile

This file was deleted.

23 changes: 0 additions & 23 deletions chef/spacelog/recipes/default.rb

This file was deleted.

184 changes: 0 additions & 184 deletions fabfile.py

This file was deleted.

0 comments on commit 51e4792

Please sign in to comment.