Something I struggle with is setting up my text editor/app with the correct file structure to proceed with a project. Sometimes you dont need all the information given in running
rails new APP_Path and I was given the following templates -- corneal and Hazel -- that do come in handy, but sometimes you just want to build it yourself.
So I set up the below if you want to just copy and paste into a terminal:
mkdir app_name then
I found it easier to copy and paste the above information to get the files I need in my application going.
After getting my file structure set up it is important to add all the gems you may require
bundle add sinatra
bundle add sinatra-activerecord
bundle add activerecord
bundle add sqlite3
bundle add pry
bundle add require_all
bundle add shotgun
then you must run
Feel free to add as many gems that you may require to proceed with your project. After completing that you need to make sure that your files are connected correctly and have the correct information inside of them. I cover that in a future post.
Top comments (0)