In your command-line run the following commands:
brew doctorbrew update
In your command-line run the following commands:
brew doctorbrew update| Name | Version | Size (uncompressed) | Size (minified) | Size (gzipped) | URL | |
|---|---|---|---|---|---|---|
| Bootstrap | v3.3.7 | 143 KB | 117 KB | 20 KB | http://getbootstrap.com/css/ | |
| Bootstrap | v4.0.0 | 187 KB | 147 KB | 20 KB | https://v4-alpha.getbootstrap.com/ | |
| Materialize | v3.0 | 114 KB | 90 KB | 18 KB | http://materializecss.com/ | |
| Material Design Lite | v1.3.0 | 350 KB | 137 KB | 21 KB | https://getmdl.io/ | |
| mini.css | v2.1 | 47 KB | 36 KB | 7 KB | https://chalarangelo.github.io/mini.css/ | |
| Semantic UI | v2.2.6 | 730 KB | 550 KB | 95 KB | https://semantic-ui.com/ | |
| Foundation | v3.0 | 90 KB | 64 KB | 12 KB | http://foundation.zurb.com/ | |
| Pure CSS | v0.6.2 | 80 KB | 17 KB | 3.8 KB | https://purecss.io/ | |
| Picnic CSS | v6.3.2 | 55 KB | 38 KB | 7 KB | https://picnicss.com |
| FROM python:3.5 | |
| COPY requirements.txt /app/ | |
| WORKDIR /app | |
| RUN ["pip", "install"] | |
| COPY . /app | |
| CMD ["python", "manage.py", "runserver"] |
| FROM phusion/baseimage:0.9.15 | |
| MAINTAINER Ryan Jones <ryan@ryankdjones.com> | |
| RUN echo deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs) main universe > /etc/apt/sources.list.d/universe.list | |
| RUN apt-get -y update\ | |
| && apt-get -y upgrade | |
| # dependencies | |
| RUN apt-get -y --force-yes install vim\ |
| from django.contrib import admin | |
| from django.contrib.auth import admin as auth_admin | |
| from .models import * | |
| from forms import UserChangeForm, UserCreationForm | |
| class UserAdmin(auth_admin.UserAdmin): | |
| fieldsets = ( | |
| (None, {'fields': ('email', 'password')}), | |
| ('Personal info', {'fields': ('first_name', 'last_name', 'twitter', 'photo', 'event')}), |
What I did to get Python 3.4.2 on Ubuntu 14.04. The stock version of Python 3 on Ubuntu is 3.4.0. Which is missing some of the best parts! (asyncio, etc). Luckily I discovered pyenv which solved my problem.
Pyenv (not to be confused with pyvenv) is the Python equivelant of rbenv. It lets you configure which Python environment/version is available per directory, user, or other session variables.
I followed the instructions here to install pyenv in my home directory. Verbatem, those instructions are:
sudo apt-get install git python-pip make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev
| # From http://www.iyware.com/osx-yosemite-mamp-homebrew-development-setup/ | |
| # Install Homebrew | |
| xcode-select --install | |
| ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| brew doctor | |
| # Tap Repos | |
| brew tap homebrew/dupes | |
| brew tap homebrew/versions |
| FROM dockerfile/ubuntu | |
| MAINTAINER Taehoon Kim(carpedm20@gmail.com) | |
| # Run upgrades | |
| RUN apt-get update | |
| # Install basic packages | |
| RUN apt-get -qq -y install git curl build-essential openssl libssl-dev python-software-properties g++ make | |
| # Install Python |