Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
flame-clmc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flame
flame-clmc
Commits
94b6c0ec
Commit
94b6c0ec
authored
6 years ago
by
Nikolay Stanchev
Browse files
Options
Downloads
Patches
Plain Diff
Updated README based on restructuring and tox automation support
parent
a3c43a8c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+21
-3
21 additions, 3 deletions
README.md
src/clmcservice/setup.py
+1
-1
1 addition, 1 deletion
src/clmcservice/setup.py
with
22 additions
and
4 deletions
README.md
+
21
−
3
View file @
94b6c0ec
...
...
@@ -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
This diff is collapsed.
Click to expand it.
src/clmcservice/setup.py
+
1
−
1
View file @
94b6c0ec
...
...
@@ -46,11 +46,11 @@ requires = [
'
pyramid_debugtoolbar
'
,
'
waitress
'
,
'
influxdb
'
,
'
pytest
'
,
]
tests_require
=
[
'
WebTest >= 1.3.1
'
,
# py3 compat
'
pytest
'
,
'
pytest-cov
'
,
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment