Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
visualizer-synthesis
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Owen Graham
visualizer-synthesis
Commits
eaae6e50
Verified
Commit
eaae6e50
authored
2 years ago
by
Owen Graham
Browse files
Options
Downloads
Patches
Plain Diff
Add setup documentation
parent
d5c72fbc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+42
-3
42 additions, 3 deletions
README.md
with
42 additions
and
3 deletions
README.md
+
42
−
3
View file @
eaae6e50
# AMRDC Data Visualizer Synthesis
Continued development of the
"
[
amrdcdata-visualizer
][
original-repo
]
"
web
Continued development of the
[
`
amrdcdata-visualizer
`
][
original-repo
]
web
app by Matthew Noojin.
Demonstration: https://amrc.ssec.wisc.edu/ograham/visualizer-synthesis/
visualizer.py/.
Demonstration: https://amrc.ssec.wisc.edu/ograham/visualizer-synthesis/
[
original-repo
]:
https://github.com/mnooj/amrdcdata-visualizer
[
original-repo
]:
https://github.com/mnooj/amrdcdata-visualizer
## Setup
### As CGI on Apache
#### Clone
Clone this repository to a directory outside of the Apache document
root.
> On `amrc`, it's cloned to `~ograham/visualizer-synthesis/`.
#### Install virtual environment
Run
`virtualenv venv`
in the project directory to create the virtual
environment
`venv`
.
> `virtualenv` can be installed with `pip3 install virtualenv`.
Activate
`venv`
and run
`pip install -r requirements.txt`
.
> To activate `venv` with bash or zsh, run `. ./venv/bin/activate`.
#### Link
Create a symbolic link, with the desired path under the document root,
to the
`htdocs`
directory in this repository.
The Apache configuration will have to allow such links outside of the
document root, as well as all rules in
`htdocs/.htaccess`
.
> On `amrc`, the web path is `/ograham/visualizer-synthesis/` and the
> document root is `/data/web/amrc/htdocs`, so the linking command is
> `ln -sT ~ograham/visualizer-synthesis/htdocs /data/web/amrc/htdocs/ograham/visualizer-synthesis`.
### As a Heroku app
This repository is also ready to go as a Heroku Python app.
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