I hereby claim:
- I am aimerib on github.
- I am aimeri (https://keybase.io/aimeri) on keybase.
- I have a public key ASA78Z3NHRMwh1lvlU55LT_-oTjKPS3X__sjt-WVMEHCZwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#append this to the end of your ~/.zshrc or ~/.bashrc | |
generate_rails_project() { | |
docker run -it --rm -v "$PWD":/"$1" -w /"$1" ruby:latest /bin/bash -c "curl -sL https://deb.nodesource.com/setup_12.x | bash && apt-get install -y nodejs && npm i -g yarn && gem install rails && rails new $1 $2" | |
echo "FROM ruby:latest | |
\n | |
\n | |
RUN mkdir /"$1" | |
WORKDIR /"$1" | |
\n |