Early prototype for TUMJA: Team Climates calculator project
- Install Anaconda according to you OS
- cd into the directory you want to have the project located
- Clone GitHub repository:
git clone https://github.com/AlexHls/ElecCalc.git
- Install conda environment:
conda env create --file eleccalc_env.yml
Note for MacOS: This should work as the yml file just specifies some packages to be specifically installed, letting your anaconda package manager deal with all the dependencies. In case it fails (e.g. at the same point as the Windows procedure during the matplotlib install, follow the manual install instructions in the Windows section. - Activate conda environment:
conda activate eleccalc
- Change into the main directory (should contain a manage.py file)
- Start the local server:
python manage.py runserver
- If everything worked, you should see an adress in your command line output (something like localhost:8000). Click on it or paste it into your browsers adress line
- Enjoy!
Note: As it is with Windows there might be various problems along the way and there might be a more elegant way to install it, but this is the way I tested it and it worked.
- Install Anaconda according to your OS
- Cone GitHub repository from
https://github.com/AlexHls/ElecCalc
- You can use the GitHub for Windows Desktop Client
- You can use the builtin git manager in your IDE (e.g. PyCharm)
- Download the zip folder directly from the GitHub page and extract it
- Open Anaconda Powershell Prompt (find it with Win+S)
- Try to install conda environment:
conda env create --file eleccalc_env.yml
- In case it fails try manually creating the environment by running this series of commands:
conda create --name eleccalc python=3.9
conda activate eleccalc
conda install numpy
conda install scipy
conda install corner
conda install pandas
conda install django
conda install matplotlib
<- in case this fails run:pip install matplotlib
- If you encounter any further problems or just want to be on the safe side (if you're on a system with an Intel CPU), install:
conda install -c intel mkl-service
- In case it fails try manually creating the environment by running this series of commands:
- Select the newly created environment as python interpreter in you IDE of choice
- Run
manage.py
(either via the Anaconda Powershell Prompt by executingpython manage.py runserver
(recommended), or through your IDE) - Enjoy!