aboutsummaryrefslogtreecommitdiffstats
path: root/Pipfile
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-06-05 16:07:35 +0100
committerGravatar GitHub <[email protected]>2018-06-05 16:07:35 +0100
commit13a3c1e29473aa9f563e8db4ad94cb3eee9bdfe6 (patch)
tree290c6d668ec9161a39065456a33ec634215907cc /Pipfile
parentdocumentation metadata API (#57) (diff)
Move from CSS to SCSS (#86)
* Rewrite existing style.css with sass * Add "uses-rst" class for pages that use rendered RST This replaces the previous method of just listing every page in the sass * Remove old debug print * Mixins and error pages * Newly built CSS * Add SASS cache to .gitignore * New error SASS * Slight changes to error template * Add UIKit SCSS to repo This includes the LICENSE and our customizations, which makes life way easier for contributors * Reorganize sass folder; your watchers can avoid uikit now * Sass folder should be called scss * Change variable names * [SCSS] Linting * Fix scss_lint gem name [ci skip] * [SCSS] Now you can compile with just Python! * Temporary hack to make the wiki editor taller * [SCSS] @jchristgit * [SCSS.py] Require specification of include dir to simplify the SCSS imports * [SCSS] All inline styles have been removed * [SCSS] Update UIKit theme to import from our variables * [SCSS] Remove extra newlines in errors/_common.scss
Diffstat (limited to 'Pipfile')
-rw-r--r--Pipfile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Pipfile b/Pipfile
index b3798b32..cf95fc5e 100644
--- a/Pipfile
+++ b/Pipfile
@@ -34,16 +34,19 @@ flask-testing = "*"
pytest = "*"
pytest-cov = "*"
python-coveralls = "*"
+libsass = "*"
[requires]
python_version = "3.6"
[scripts]
+build = "docker build -t pythondiscord/site:latest -f docker/Dockerfile ."
+buildbase = "docker build -t pythondiscord/site-base:latest -f docker/Dockerfile.base ."
+buildscss = "python scss.py scss/pysite:scss/pysite/style.scss:static/css/style.css scss/uikit:scss/uikit/uikit_blurple.scss:static/css/uikit_blurple.css"
+clean = "rm -rf __pycache__ htmlcov .coverage .pytest_cache"
start = "gunicorn -w 12 -b 0.0.0.0:10012 -c gunicorn_config.py --log-level info -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker app:app"
lint = "python -m flake8"
-test = "py.test tests --cov pysite --cov-report term-missing -v"
-clean = "rm -rf __pycache__ htmlcov .coverage .pytest_cache"
-build = "docker build -t pythondiscord/site:latest -f docker/Dockerfile ."
+lintscss = "scss-lint scss/pysite"
push = "docker push pythondiscord/site:latest"
-buildbase = "docker build -t pythondiscord/site-base:latest -f docker/Dockerfile.base ."
pushbase = "docker push pythondiscord/site-base:latest"
+test = "py.test tests --cov pysite --cov-report term-missing -v"