Skip to content

Automatically set up file structures for ruby and node/express

Notifications You must be signed in to change notification settings

oliverforster/aliases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

aliases

Automatically set up file structures for ruby and node/express

Open up your zshrc file with your prefered text editor. Then copy and paste the text into your zshrc file.

contents

ruby! the Sinatra command creates the following folders and files: controllers folder with a statics_controller.rb file inside. public folder with css and js folder, containing a style.css and app.js file respectivley. A views folder with an index.ejs and layout.ejs file in. Finally it creates a main.rb file.

express! the express command installs the following express dependency's: ejs, ejs-express-layouts, body-parser, morgan and express. It also creates similar files to the ruby command.

Feel free to change to aliases in your zshrc file.

About

Automatically set up file structures for ruby and node/express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published