Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.
/ yore Public archive

Development env from start to finish on ubuntu LTS

Notifications You must be signed in to change notification settings

thesheff17/yore

Repository files navigation

Yore

  • yore.py - I need a script to automatically create a linux machine for programming. apt-get, pip, db, and vim plugins.

Requirements

  • Latest http://www.ubuntu.com/ LTS version
  • Python 2.7.x
  • git
  • non privileged user - usually called ubuntu
    • add user: sudo useradd -m ubuntu

Installation

Usage

  • set a ubuntu password if you don't already have one set
    • passwd ubuntu
  • log out and log back in to make sure the .bashrc settings take effect
    • This only goes for LXD/LXC instances. If you ran lxc exec name /bin/bash you really don't have a standard TTY. You should ifconfig and get the ip of the server and ssh into it. ssh ubuntu@ipAddress. This way vim will load full screen.
  • create a new virtualenv
    • mkvirtualenv test
  • install the packages
    • pip install -r requirements.txt
  • start flask app
    • python app.py
  • used after a virtualenv is already created
    • workon test

Technical Details

About

Development env from start to finish on ubuntu LTS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published