Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

mozodev/xenial64-anyenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mozodev/xenial64-anyenv

A vagrant box for web development on ubuntu xenial (virtualbox).

# use
$ time vagrant up

# cleanup 
$ vagrant ssh
$ /vagrant/cleanup.sh
$ exit

# build box
$ vagrant halt && time vagrant package --output xenial64-anyenv.box
# add box
$ vagrant add box mozodev/xenial64-anyenv ./xenail64-anyenv.box

[mysql] dbdeployer

DBdeployer is a tool that deploys MySQL database servers easily (sandboxed). documentation: https://www.dbdeployer.com/

# install specific mysql version
vagrant@xenial64-anyenv:~$ dbdeployer downloads get-unpack mysql-5.7.26.tar.xz --delete-after-unpack
vagrant@xenial64-anyenv:~$ dbdeployer deploy single 5.7.26

# status, start, stop, restart, use
vagrant@xenial64-anyenv:~$ ~/sandboxes/msb_5_7_26/status
vagrant@xenial64-anyenv:~$ ~/sandboxes/msb_5_7_26/start
vagrant@xenial64-anyenv:~$ ~/sandboxes/msb_5_7_26/stop
vagrant@xenial64-anyenv:~$ ~/sandboxes/msb_5_7_26/restart

[client]
user               = root
password           = msandbox
port               = 5726
socket             = /tmp/mysql_sandbox5726.sock

[python] imgp

High-performance CLI batch image resizer & rotator

vagrant@xenial64-anyenv:~$ imgp -x 800x800 /vagrant/some-directory | /vagrant/some-file.jpg

수많은 파일을 프로젝트에 사용해야하는데 파일명이 한글... gui 프로그램이나 bash script도 좋은데 한글도 음역(transliteration: 소리나는데로 읽어서 영문으로 표기) 변환해서 url에 사용하기 좋은 형태로 한번에 변환할 수 있습니다.

vagrant@xenial64-anyenv:~$ /usr/local/bin/slugify_files /vagrant/some-directory