PushingKarma Website Code
This is the core code running pushingkarma.com. Feel free to borrow some ideas for your own site. If you find anything useful, by all means let me know. :)
- Python3, Pip, Virtualenv, Fabric
- Npm, Bower, Sass, Autoprefixer, Gulp
# Create Python Virtualenv $ git clone firstname.lastname@example.org:mjs7231/pushingkarma.git ~/Projects/pushingkarma $ mkvirtualenv --python=/usr/bin/python3 -a /home/mjs7231/Projects/pushingkarma pushingkarma $ rm ~/.virtualenvs/pushingkarma/bin/postactivate $ ln -s ~/Projects/pushingkarma/conf/postactivate ~/.virtualenvs/pushingkarma/bin/postactivate $ workon pushingkarma # Install Python Requirements $ pip install -U pip $ pip install -r ~/Projects/pushingkarma/conf/requirements.pip
# Install Development Utilities > sudo su -c "gem install sass" > sudo ln -s /usr/bin/nodejs /usr/local/bin/node > npm install -g gulp bower > npm install > bower install > gulp # Update Nodejs to latest version (if hitting errors) > curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - > sudo apt-get install -y nodejs > npm rebuild node-sass # Kickstart the Database > django-admin syncdb > django-admin createcachetable
Create Commons Attribution-ShareAlike 2.5 Generic (CC BY-SA 2.5) https://creativecommons.org/licenses/by-sa/2.5/
You are free to share - copy and redistribute the material in any medium or format. You are free to adapt - remix, transform, and build upon the material for any purpose, even commercially. The licensor cannot revoke these freedoms as long as you follow the license terms.
You must provide attribution - You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- You must ShareAlike - If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
No additional restrictions - You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation. No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.