Add credentials.sh and heroku.sh to Rails Tutorial Sample App
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.internalpointers.com/post/squash-commits-into-one-git | |
git rebase --interactive [commit-hash] | |
Where [commit-hash] is the hash of the commit just before the first one you want to rewrite from. | |
OR | |
git rebase --interactive master |
- Start the Docker container by entering this command:
docker run -i -t --rm -v ${PWD}:/usr/src/app/ ruby:2.6 bash
- Enter these commands in the Docker container:
cd /usr/src/app # Enter the shared directory
gem install rails -v 5.2.4 # Install Rails
rails _5.2.4_ new myapp --skip-test --skip-bundle # Create the new Rails app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Prerequisites | |
* Vagrant | |
* Packer | |
* Packer's builder plugin: Just type "vagrant plugin install builder" to install. | |
## Update Builder | |
* vagrant plugin update builder | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installing MySQL from apt-get in Debian not working | |
Try https://blog.programster.org/debian-9-install-mysql-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sh test_app.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://goalkicker.com/ | |
Create React https://www.codecademy.com/articles/how-to-create-a-react-app |
Welcome to the new Ruby.MN Tutorial of Ruby on Racetracks! Please note that this tutorial sets up the existing Ruby.MN project. The tutorial that walks you through the process of replicating the new Ruby.MN app is at https://github.com/jhsu802701/tutorial-rails-rubymn2.
- You should have version 4 of SparkyLinux installed as your host OS or virtual OS. You may also use any other Linux distro based on Debian Stretch. If you are using a Mac or Windows, you can use a VirtualBox virtual machine with SparkyLinux on it. For more details, go through the VirtualBox Tutorial.
- You should have Docker installed in your SparkyLinux desktop Linux setup. This is covered in chapter 1 of the Docker tutorial.
- You should be familiar with the Docker way of developing in Ruby on Rai
NewerOlder