https://github.com/jawahir01/postgres-tutorials
https://github.com/jawahir01/postgres-tutorials
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jawahir01/postgres-tutorials
- Owner: Jawahir01
- Created: 2023-08-06T13:34:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-06T14:52:15.000Z (over 2 years ago)
- Last Synced: 2023-08-06T15:49:21.452Z (over 2 years ago)
- Language: Dockerfile
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

Welcome Jawahir01,
This is the Code Institute student template for Gitpod. We have preinstalled all of the tools you need to get started. You can safely delete this README.md file, or change it for your own project. Please do read it at least once, though! It contains some important information about Gitpod and the extensions we use.
## Gitpod Reminders
To run a frontend (HTML, CSS, Javascript only) application in Gitpod, in the terminal, type:
`python3 -m http.server`
A blue button should appear to click: _Make Public_,
Another blue button should appear to click: _Open Browser_.
To run a backend Python file, type `python3 app.py`, if your Python file is named `app.py` of course.
A blue button should appear to click: _Make Public_,
Another blue button should appear to click: _Open Browser_.
In Gitpod you have superuser security privileges by default. Therefore you do not need to use the `sudo` (superuser do) command in the bash terminal in any of the lessons.
To log into the Heroku toolbelt CLI:
1. Log in to your Heroku account and go to *Account Settings* in the menu under your avatar.
2. Scroll down to the *API Key* and click *Reveal*
3. Copy the key
4. In Gitpod, from the terminal, run `heroku_config`
5. Paste in your API key when asked
You can now use the `heroku` CLI program - try running `heroku apps` to confirm it works. This API key is unique and private to you so do not share it. If you accidently make it public then you can create a new one with _Regenerate API Key_.
## Updates Since The Instructional Video
We continually tweak and adjust this template to help give you the best experience. Here is the version history:
**May 10 2021:** Added `heroku_config` script to allow Heroku API key to be stored as an environment variable.
**April 7 2021:** Upgraded the template for VS Code instead of Theia.
**October 21 2020:** Versions of the HTMLHint, Prettier, Bootstrap4 CDN and Auto Close extensions updated. The Python extension needs to stay the same version for now.
**October 08 2020:** Additional large Gitpod files (`core.mongo*` and `core.python*`) are now hidden in the Explorer, and have been added to the `.gitignore` by default.
**September 22 2020:** Gitpod occasionally creates large `core.Microsoft` files. These are now hidden in the Explorer. A `.gitignore` file has been created to make sure these files will not be committed, along with other common files.
**April 16 2020:** The template now automatically installs MySQL instead of relying on the Gitpod MySQL image. The message about a Python linter not being installed has been dealt with, and the set-up files are now hidden in the Gitpod file explorer.
**April 13 2020:** Added the _Prettier_ code beautifier extension instead of the code formatter built-in to Gitpod.
**February 2020:** The initialisation files now _do not_ auto-delete. They will remain in your project. You can safely ignore them. They just make sure that your workspace is configured correctly each time you open it. It will also prevent the Gitpod configuration popup from appearing.
**December 2019:** Added Eventyret's Bootstrap 4 extension. Type `!bscdn` in a HTML file to add the Bootstrap boilerplate. Check out the README.md file at the official repo for more options.
---
Happy coding!