Skip to content

michavardy/dev_env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Generic Development Envirnment

  • this project aims to provide a fully equipmed docker container for python scientific development.- perhaps variations on this project can be added for more specific tasks in the future

current features

  • pandas, pymongo, ipython

required features

  • download vim
  • setup vimrc
  • download tmux
  • setup copy paste
  • more packages including jupyter, matplotlib, seaborn, datascience
  • shared file with host
  • setup ssh connection
  • setup local git server

below are some useful commands

git

to add a new file to tracking list

  • git add .
  • git add

to see status of files

  • git status

make a local commit

  • git commit -m "message"

check git log for history

  • git log

github

add a new repository

  • gh repo create

add a remote connection between local git and github repository

  • git remote add <remote_name> [email protected]:michavardy/<repo_name>.git
  • usually the remote_name is called origin

view all remote connections

  • git remote -v

push local git to remote repository

  • git push <remote_name> <branch_name>
  • usually the remote_name is called origin
  • usually the branch_name is called main
  • git push origin HEAD:main

dockers

write Dockerfile

build dockerfile

  • cd into directory with dockerfile
  • docker build -t <image_name> .
  • -t will give image the tag image name

view images

  • docker images

remove image

  • docker image rm <image_id>

run container

  • docker run <image_name>
  • you can port forword using -p 80:80
  • detached mode for running backround servers -d
  • -i interactive mode /bin/bash command for opening shell
  • docker run -it <image_name> /bin/bash

About

generic development envirnment for python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published