To build the static site:
- First run the django site
python mange.py runserver
cd scripts
- ./build_static.sh
The static site files will now be in 'publish/127.0.0.1:8000'. You can test they are ok:
cd publish/127.0.0.1:8000
python -m SimpleHTTPServer 8888
Now push them to s3 with Boto:
TODO:
-
order content (orderedmodel)
-
add more content
-
publish button (calls unified script)
-
sort JS layout bug on initial load
################################################################################
- alt text on images
- Lightbox bigger images
- host CMS on server
- sitemap.xml
- WYSIWYG editor on copy and project main content
REFACTOR:
- remove need to collect static?
- review if we require wget alternatives (https://github.com/timetric/django-staticgenerator, https://github.com/koenbok/Cactus, https://pypi.python.org/pypi/staticgenerator)
- review site structure and layout, can we simplify?