Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geomag-algorithms
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
ghsc
National Geomagnetism Program
geomag-algorithms
Commits
c26fe480
Commit
c26fe480
authored
7 years ago
by
Jeremy M Fee
Browse files
Options
Downloads
Patches
Plain Diff
Update docker notes in README
parent
21074940
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+18
-4
18 additions, 4 deletions
README.md
with
18 additions
and
4 deletions
README.md
+
18
−
4
View file @
c26fe480
...
...
@@ -88,10 +88,24 @@ Docker is the simplest install option.
from the image `usgs/geomag-algorithms` on docker hub
```
docker run -d --name geomagio -p 8000:80 usgs/geomag-algorithms
docker run -d --name geomagio -p 8000:80
00
usgs/geomag-algorithms
```
2.
Use the running container
2.
Find the token, (the token improves security)
```
docker logs geomagio
```
This outputs a URL to copy/paste into your browser address bar:
```
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8000/?token=TOKEN
```
3.
Use the running container
-
Run the
`geomag.py`
command line interface:
...
...
@@ -99,10 +113,10 @@ Docker is the simplest install option.
docker exec -it geomagio geomag.py
```
-
Run python interactively in a web browser:
-
Run python interactively in a web browser
(using the token found in step 2)
:
```
open
http://localhost:8000
http://localhost:8000
/?token=TOKEN
```
> In the top right corner, choose "New" then "Python 2"
...
...
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