Code that runs pushingkarma.com
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ansible
pk
.bowerrc
.gitignore
.jshintrc
README.md
bower.json
gulpfile.js
package.json

README.md

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. :)

Setup Dev Environment

# Create a virtualenv environment
sudo apt install virtualenvwrapper redis-server
mkvirtualenv --python=/usr/bin/python3
pip install -r pk/requirements.pip

# Setup npm, gulp and bower
sudo apt install ruby ruby-dev nodejs npm
sudo su -c 'gem install sass'
npm install -g gulp bower
npm install
bower install  # choose bootstrap 4.0.0-beta
gulp

# Run the development server
./manage.py runserver 0.0.0.0:8000

Setup Production Environment

  1. Create a new Ubuntu instance
  2. Update ansible/inventory.ini with the IP address of the new instance
  3. Run: cd ansible && ansible-playbook -i inventory.ini playbook.yml

License

Create Commons Attribution-ShareAlike 2.5 Generic (CC BY-SA 2.5) - https://creativecommons.org/licenses/by-sa/2.5/