changed README extension to md
This commit is contained in:
@@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
clone:
|
clone:
|
||||||
```shell script
|
```cmd script
|
||||||
git clone https://github.cs.huji.ac.il/danieljannai/cryptocurrencies-project
|
git clone https://github.cs.huji.ac.il/danieljannai/cryptocurrencies-project
|
||||||
cd cryptocurrencies-project
|
cd cryptocurrencies-project
|
||||||
virtualenv venv
|
virtualenv venv
|
||||||
source venv/bin/activate
|
venv\bin\activate
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -23,20 +23,20 @@ in spite of the blockchain being full.
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
First, to find your store's id, you can run the following command (assuming you live in Jerusalem):
|
First, to find your store's id, you can run the following command (assuming you live in Jerusalem):
|
||||||
```shell script
|
```cmd script
|
||||||
python main.py --find_store ירושלים
|
python main.py --find_store ירושלים
|
||||||
```
|
```
|
||||||
After running the command, you'll be able to see the different stores in Jerusalem with their ids in "stores_ירושלים.log".
|
After running the command, you'll be able to see the different stores in Jerusalem with their ids in "stores_ירושלים.log".
|
||||||
|
|
||||||
Now, that we have the store's id, we can get its promotions sorted by their update date by running:
|
Now, that we have the store's id, we can get its promotions sorted by their update date by running:
|
||||||
```shell script
|
```cmd script
|
||||||
python main.py --promos 5
|
python main.py --promos 5
|
||||||
```
|
```
|
||||||
* We assumed that the store's id is 5.
|
* We assumed that the store's id is 5.
|
||||||
Now, you can find the promos in promos_5.log.
|
Now, you can find the promos in promos_5.log.
|
||||||
|
|
||||||
For other documentation and commands, you can run
|
For other documentation and commands, you can run
|
||||||
```shell script
|
```cmd script
|
||||||
python main.py --h
|
python main.py --h
|
||||||
```
|
```
|
||||||
|
|
Reference in New Issue
Block a user