Stack Configuration

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Minimal Stack configuration

1. Python 3

Prerequisites:

A system running Windows 10 with admin privileges


Command Prompt (comes with Windows by default)
A Remote Desktop Connection app (use if you are installing Python on a remote Windows
server)

Step 1: Select Version of Python to Install


The installation procedure involves downloading the official Python .exe installer and running it on
your system.

Step 2: Download Python Executable Installer


Open your web browser and navigate to the Downloads for Windows section of the official Python
website.
1. Search for your desired version of Python. At the time of publishing this article, the
latest Python 3 release is version 3.7.3, while the latest Python 2 release is version 2.7.16.
2. Select a link to download either the Windows x86-64 executable
installer or Windows x86 executable installer. The download is approximately 25MB.

Step 3: Run Executable Installer


1. Run the Python Installer once downloaded. (In this example, we have downloaded Python3.7.3.)
2. Make sure you select the Install launcher for all users and Add Python 3.7 to PATH checkboxes.
The latter places the interpreter in the execution path. For older versions of Python that do not
support the Add Python to Path checkbox, see Step 6.
3. Select Install Now – the recommended installation options.
4. The next dialog will prompt you to select whether to Disable path length limit. Choosing this
option will allow Python to bypass the 260-character MAX_PATH limit. Effectively, it will enable
Python to use long path names.

Step 3: Run Executable Installer


1. Navigate to the directory in which Python was installed on the system. In our case, it
is C:\Users\Username\AppData\Local\Programs\Python\Python37 since we have installed the
latest version.

2. Double-click python.exe
Step 4: Add Python Path to Environment Variables (Optional)
We recommend you go through this step if your version of the Python installer does n ot include
the Add Python to PATH checkbox or if you have not selected that option.

2. Pycharm

1. Download the installer .exe.

2. To verify the integrity of the installer, use the SHA checksum linked from the Download page.

Run the installer and follow the wizard steps.


Mind the following options in the installation wizard

• 64-bit launcher: Adds a launching icon to the Desktop.


• Open Folder as Project: Adds an option to the folder context menu that will allow opening
the selected directory as a PyCharm project.
• .py: Establishes an association with Python files to open them in PyCharm.
• Add launchers dir to the PATH: Allows running this PyCharm instance from the Console
without specifying the path to it.
To run PyCharm, find it in the Windows Start menu or use the desktop shortcut. You can also run
the launcher batch script or executable in the installation directory under bin.

3. PostgreSQL

1) Download PostgreSQL Installer for Windows


First, you need to go to the download page of PostgreSQL installers on the EnterpriseDB.

2) Install PostgreSQL on Window step by step


To install PostgreSQL on Windows, you need to have administrator privileges.
Step 1. Double click on the installer file, an installation wizard will appear and guide you through
multiple steps where you can choose different options that you would like to have in PostgreSQL.

Step 2. Click the Next button


Step 3. Specify installation folder, choose your own or keep the default folder suggested by
PostgreSQL installer and click the Next button

Step 4. Select software components to install:


• The PostgreSQL Server to install the PostgreSQL database server
• pgAdmin 4 to install the PostgreSQL database GUI management tool.
• Command Line Tools to install command-line tools such as psql, pg_restore, etc. These
tools allow you to interact with the PostgreSQL database server using the command -line
interface.
• Stack Builder provides a GUI that allows you to download and install drivers that work with
PostgreSQL.
Step 5. Select the database directory to store the data or accept the default folder. And click the
Next button to go to the next step:

Step 6. Enter the password for the database superuser (postgres). PostgreSQL runs as a service in
the background under a service account named postgres. If you already created a service account
with the name postgres, you need to provide the password of that account in the following
window.

Step 7. Enter a port number on which the PostgreSQL database server will listen. The default port
of PostgreSQL is 5432. You need to make sure that no other applications are using this port.

Step 8. Choose the default locale used by the PostgreSQL database. If you leave it as default locale,
PostgreSQL will use the operating system locale. After that click the Next button.

Step 9. The setup wizard will show the summary information of PostgreSQL. You need to review it
and click the Next button if everything is correct. Otherwise, you need to click the Back button to
change the configuration accordingly.

Step 10. Click the Finish button to complete the PostgreSQL installation.

4. VS code IDE
- download the Visual Studio Code installer for Windows. Once it is downloaded, run the
installer (VSCodeUserSetup-{version}.exe). It will only take a minute. Secondly, accept the
agreement and click on next.

- Thirdly, click on "create a desktop icon" so that it can be accessed from desktop and click on Next.

- After that, click on the install button.


-Finally, after installation completes, click on the finish button, and the visual studio code will get
open.

- download extensions for html, css, Javascript.list follows,

1. Debugger for chrome


2. Javascript (ES6) Code Snippets
3. ESLint
4. Live server
5. Bracket Pair Colorizor
6. Auto Rename Tag
7. Quokka
8. Path Intellisense
9. Project Manager
10. Editor Config
11. Sublime Text Keymap
12. Browser Preview
13. Git Lens
14. Polacode
15. Prettier
16. Better Comments
17. Git Link
18. VS Code Icons
19. Material Icon Theme
20. Settings Sync
21. Better Align
22. VIM

You might also like