From cd500130b86db7d38996e7a219df3f47918f3154 Mon Sep 17 00:00:00 2001 From: Mateusz Kaduk Date: Sat, 1 Feb 2020 10:24:56 +0100 Subject: [PATCH] Add commands to install from anaconda/miniconda enviroment. --- README.md | 15 +++++++++++---- frontend/environment.yml | 12 ++++++++++++ 2 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 frontend/environment.yml diff --git a/README.md b/README.md index 499fb80..c1742d4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- +

Linux and OS X Build Status: [![Linux and OS X Build Status](https://api.travis-ci.org/mazurwiktor/albion-online-stats.svg)](https://travis-ci.org/mazurwiktor/albion-online-stats) @@ -12,7 +12,7 @@ Windows Build Status: [![Windows Build Status](https://ci.appveyor.com/api/proje Albion Online Stats =================== -Albion online stats is an extension to MMORPG game - Albion Online. It tracks network traffic and displays various statistics, such as damage and DPS meter calculated from in-game actions. +Albion online stats is an extension to MMORPG game - Albion Online. It tracks network traffic and displays various statistics, such as damage and DPS meter calculated from in-game actions. ![0.7.0](https://user-images.githubusercontent.com/11301109/71000581-d9124000-20db-11ea-8c19-4d7f69a2c155.png) @@ -29,7 +29,7 @@ Albion online stats is an extension to MMORPG game - Albion Online. It tracks ne ## Configuration -After first execution the app is going to create default configuration file named `albion-online-stats.cfg`. Feel free to edit it according to your needs. +After first execution the app is going to create default configuration file named `albion-online-stats.cfg`. Feel free to edit it according to your needs. ## Is This Allowed ```Our position is quite simple. As long as you just look and analyze we are ok with it. The moment you modify or manipulate something or somehow interfere with our services we will react (e.g. perma-ban, take legal action, whatever``` @@ -55,7 +55,7 @@ After first execution the app is going to create default configuration file name ## All platforms 1. Clone repository: - ```shell + ```shell git clone https://github.com/mazurwiktor/albion-online-stats.git ``` 2. [optional] Create and activate python virtualenv @@ -66,6 +66,13 @@ After first execution the app is going to create default configuration file name [windows] .\env\Scripts\activate.ps1 ``` + or alternatively using conda and skip installing requirements step + + ```shell + conda env create --file frontend/environment.yml + conda activate albion + ``` + 3. Install requirements (backend will be compiled during requirements installation) ```shell diff --git a/frontend/environment.yml b/frontend/environment.yml new file mode 100644 index 0000000..627d4bf --- /dev/null +++ b/frontend/environment.yml @@ -0,0 +1,12 @@ +name: albion + +channels: + - conda-forge + +dependencies: + - rust=1.41 + - pyside2=5.13.2 + - pyinstaller=3.6 + - toml=0.10.0 + - requests=2.22 + - pillow=7.0.0