vi ~/.bash_profile 并填写下文内容
source ~/.bash_profile // 刷新环境变量
java -version // 查看当前的 jdk 版本
需要填写的内容为:
curl -sL https://deb.nodesource.com/setup_0.10 | bash - | |
apt-get install -y nodejs=0.10.40-* |
def isolation_level(level): | |
"""Return a Flask view decorator to set SQLAlchemy isolation level | |
Usage:: | |
@main.route("/thingy/<id>", methods=["POST"]) | |
@isolation_level("SERIALIZABLE") | |
def update_a_thing(id): | |
... | |
""" | |
def decorator(view): |