Skip to content
Snippets Groups Projects
Commit 94b6c0ec authored by Nikolay Stanchev's avatar Nikolay Stanchev
Browse files

Updated README based on restructuring and tox automation support

parent a3c43a8c
No related branches found
No related tags found
No related merge requests found
......@@ -129,8 +129,26 @@ When created, you should already be set to use the new virtual environment, but
workon CLMC
```
Now, any installed libraries will be specificly installed in this environment only. To install and use the CLMC service
locally, the easiest thing to do is to use **pip** (make sure you are in the root folder of the project - ***flame-clmc***):
Now, any installed libraries will be specifically installed in this environment only.
To install and use the CLMC service locally, the easiest thing to do is to use **pip**. Navigate to the clmcservice root folder:
```
cd src/clmcservice
```
Test the CLMC service using **tox** along with the ***tox.ini*** configuration file. If tox is not installed run:
```
pip install tox
```
After it is installed, simply use the **tox** command:
```
tox
```
Then install the service in development mode.
```
pip install -e .
......@@ -142,4 +160,4 @@ Finally, start the service on localhost by using pyramid's **pserve**:
pserve development.ini --reload
```
You should now be able to see the 'Hello world' message when visiting **http://localhost:8080** in your browser.
\ No newline at end of file
You should now be able to make requests to the CLMC service on http://localhost:8080/aggregator.
\ No newline at end of file
......@@ -46,11 +46,11 @@ requires = [
'pyramid_debugtoolbar',
'waitress',
'influxdb',
'pytest',
]
tests_require = [
'WebTest >= 1.3.1', # py3 compat
'pytest',
'pytest-cov',
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment