This is a barebones Sinatra app, nothing in it except "Hello World!"
This is intended to be a starting point for demonstrations in class
Here's how to get it running on gitpod.`
- Sign up for GitPod
- Fork this repo using the FORK button in the top right on Github
- Open a new tab in your browser (preferably Google Chrome) and visit GitPod with the GitHub URL of your new code project: https://www.gitpod.io/#https://github.com/YOURUSERNAMEHERE/finstagram (Replace YOURUSERNAME with your actual GitHub username)
- In the Terminal pane/tab, run
gem install bundler
. It should say "successfully installed bundler-2.0.2" (or a greater version number) - In that same terminal tab, run
bundle install
. It will output many different lines, each representing a library (piece of code) that our project depends on. Near the end, you should expect to see green text saying "Bundle complete!"
- In a terminal pane/tab, run
bin/serve
to start the server. It should mention "Listening on port 3001" among other things - In the top menu, Click View, then Open Ports. You should see port 3001 with a blue light next to it (to indicate that it is running our project on that port)
- Optional: If it shows the button Expose for that port, click that button
- You'll see Open Preview and Open Browser, either of which will allow you to open your project in a new window or tab or preview pane. Go ahead and click on your preference (or try both at first to see which one you prefer).
You're now set up and ready to expand on this base code