Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
demo objects
Browse files Browse the repository at this point in the history
  • Loading branch information
gregdingle committed Dec 21, 2018
1 parent 1333ed6 commit 2f35a74
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,23 @@ psql -h RDS_HOSTNAME -U RDS_USERNAME RDS_DB_NAME

Hint: Look in `/opt/python/current/env` for secrets.

To create pre-authenticaed URLs for sharing using https://github.com/aaugustin/django-sesame:

```
# local
eb ssh
# remote
cd /opt/python/current/
source env
source /opt/python/run/venv/bin/activate
cd app && python manage.py shell
# python shell
>>> from django.contrib.auth.models import User
>>> user = User.objects.get(username='demo')
>>> from sesame import utils
>>> utils.get_query_string(user)
```

# Monitoring

There should be at least one downtime alert setup here:
Expand Down
Binary file modified main/static/manu-score.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 8 additions & 4 deletions main/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@
<h2>Get Started</h2>

<ul>
<li class="h5"><a href="/main/signup/">Create an account</a></li>
<li class="h5"><a href="/main/experiment/">Design a new experiment</a></li>
<li class="h5"><a href="/main/analysis/">Start a new analysis</a></li>
<li class="h5"><a href="/main/">View current experiments and analyses</a></li>
<li class="h5">
View <a target="_blank" href="https://crispycrunch.czbiohub.org/main/analysis/11/results/?url_auth_token=AAAAD6DADtu-27EV2aBL2x6BrSY%3AsYYjdE_ZJHYKAFvy7XjberSIR1c">demo experiment</a>
and <a target="_blank" href="https://crispycrunch.czbiohub.org/main/primer-selection/34/experiment-summary/?url_auth_token=AAAAD6DADtu-27EV2aBL2x6BrSY%3AsYYjdE_ZJHYKAFvy7XjberSIR1c">demo analysis</a>
</li>
<li class="h5">Create an <a href="/main/signup/">account</a></li>
<li class="h5">Design a <a href="/main/experiment/">new experiment</a></li>
<li class="h5">Start a <a href="/main/analysis/">new analysis</a></li>
<li class="h5">View your <a href="/main/">current experiments and analyses</a></li>
</ul>

<h2>Introduction</h2>
Expand Down

0 comments on commit 2f35a74

Please sign in to comment.