From 87ac6834e861ae1d31c843ce0b4da82bf5b13fa6 Mon Sep 17 00:00:00 2001
From: Artem Veremey
-
1. Install Anaconda
Confirm that you have it with: `conda -V`. The output should be something along the lines of: `conda 4.9.2`
-2. Create Environment
+- If on Windows, install/update Microsoft C++ Build Tools from here: https://visualstudio.microsoft.com/visual-cpp-build-tools/
-You can name the environment whatever you want. Although you could use names such as: `welikethestock`, `thisistheway` or `diamondhands`, we recommend something simple and intuitive like `gst`. This is because this name will be used from now onwards.
-```
-conda create -n gst python=3.9
-````
+2. Install git
-3. Activate the virtual environment
-
-```
-conda activate gst
-```
-Note: At the end, you can deactivate it with: `conda deactivate`.
-
-4. Install git
```
conda install -c anaconda git
````
-5. Clone the Project
+3. Clone the Project
-- Via HTTPS: `git clone https://github.com/DidierRLopes/GamestonkTerminal.git`
-- via SSH: `git clone git@github.com:DidierRLopes/GamestonkTerminal.git`
+ - Via HTTPS: `git clone https://github.com/DidierRLopes/GamestonkTerminal.git`
+ - via SSH: `git clone git@github.com:DidierRLopes/GamestonkTerminal.git`
-6. Navigate into the project's folder
+4. Navigate into the project's folder
```
cd GamestonkTerminal/
```
-7. Install poetry
-```
-conda install poetry
-```
+5. Create Environment
+
+You can name the environment whatever you want. Although you could use names such as: `welikethestock`, `thisistheway` or `diamondhands`, we recommend something simple and intuitive like `gst`. This is because this name will be used from now onwards.
+
+```
+conda create -n gst --file build/conda/conda-3-8-env.yaml
+````
+
+6. Activate the virtual environment
-7.1. If installing python 3.8
```
-conda deactivate
conda activate gst
```
-*The `conda deactivate` -> `conda activate` in the middle is on purpose, this is sometimes required to avoid issues with poetry*
-7.2. If on Windows, install/update Microsoft C++ Build Tools from here: https://visualstudio.microsoft.com/visual-cpp-build-tools/
+Note: At the end, you can deactivate it with: `conda deactivate`.
+
+7. Install poetry dependencies
-8. Install poetry dependencies
```
poetry install
```
+
This is a library for package management, and ensures a smoother experience than: ``pip install -r requirements.txt``
-9. You're ready to Gamestonk it!
+8. You're ready to Gamestonk it!
```
python terminal.py
```
-10. (Windows - Optional) Speeding up opening process in the future
+
+9. (Windows - Optional) Speeding up opening process in the future
After you've installed Gamestonk Terminal, you'll find a file named "Gamestonk Terminal.bat". You can use this file to open Gamestonk Terminal quicker. This file can be moved to your desktop if you'd like. If you run into issues while trying to run the batch file. If you run into issues with the batch files, edit the file and check to see if the directories match up. This file assumes you used the default directories when installing.
@@ -183,6 +173,8 @@ After you've installed Gamestonk Terminal, you'll find a file named "Gamestonk T
If you are an advanced user and use other Python distributions, we have several requirements.txt documents that you can pick from to download project dependencies.
+If you are using conda instead of build/conda/conda-3-8-env.yaml configuration file in Step 5, use build/conda/conda-3-8-env-full.
+
Note: The libraries specified in the [requirements.txt](/requirements.txt) file have been tested and work for the purpose of this project, however, these may be older versions. Hence, it is recommended for the user to set up a virtual python environment prior to installing these. This allows to keep dependencies required by different projects in separate places.
*If you would like to use optional Machine Learning features:*