This repository was archived by the owner on Oct 25, 2022. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork0
workflowr/workflowr.io-django
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
ARCHIVED: I instead decided to deployworkflowr.io using a combinationof the static site generator Hugo (website source code atworkflowr/workflowr.io)and a GitHub app (also namedworkflowr.io) to register projects.
A website to share and discoverworkflowr projects.
The software dependencies are managed by conda and specified inenvironment.yml. InstallMiniconda to get started.
# Create the environmentconda env create --file environment.yml# Activate the environmentconda activate wio# Update the environmentconda env update --file environment.yml# Deactivate the environmentconda deactivate wio# Run the test suitepython manage.py test# Restart database for interactive testingbash setup-models.sh# Create a temporary superuser for testing the sitebash createsuperuser.sh# Run the development server (http://localhost:8000/)python manage.py runserver# Start an interactive shell with Django settings activatedpython manage.py shell# Install Heroku CLI appsudo snap install heroku --classic# Login (opens browser for authentication)heroku login# Run the development server (http://localhost:5000/)heroku local web# Add heroku remotegit remote add heroku https://git.heroku.com/workflowr.git# Deploy the sitegit push heroku master# Open the site in the browserheroku open# View the server logsheroku logs --tail# View currently used resourcesheroku ps# Start an interactive shell on the remote serverheroku run python manage.py shell# Run the database migrations on the remote serverheroku run python manage.py migrate- Getting Started on Heroku with Python
- heroku/python-getting-started
- Configuring Django Apps for Heroku
projects/- List all projectsprojects/github/- List all projects hosted on GitHubprojects/github/user/- List all of user's projects hosted on GitHubprojects/github/user/project/- Detail view for projectauthors/- List all authorstags/- List all tagstag/tagname/- List all projects tagged with "tagname"publications/- List all publications
Use thegraph_models feature ofdjango-extensions to create a UMLdiagram of the database schema specified inprojects/models.py.
conda activate wiopython manage.py graph_models --pydot projects -o graph-model.pngAbout
No description, website, or topics provided.
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.