note: upon arrival, the inheritance site/app appears broken. it is not. view it as a blank canvas on which you can author creative, unique outcomes for a session. .. unless and until we are able to dedicate time and energy needed to operate inheritance full time, the site/app is designed for single-session use - meaning you can visit the deploy, build out the content, and be the sole or shared author as long as the session continues. once done, the inheritance site resets
destined for existence as an app and/or online at https://inheritance.artifacts
accompanied by tagline 'where life lives'
Jason Doze
GITHUB UN: Jason-Doze
La'Tonia Mertica Sheppard Walker
GITHUB UN: LaTonia-Mertica
couldn't have achieved the level we have without the stellar support of our mentors
- Software Engineer Chris Baker, Justice Through Code
- Software Engineer Nate Evans, Careers in Code
- Software Engineer Chelsea Troy, Emergent Works
- Software Engineer Max Matthews, Careers in Code
USE VENV TO CREATE & RUN VIRTUAL ENVIRONMENTS:
-
Execute VENV Command to Create
1a. Mac aka BASH/ZSH Users runpython3 -m venv /path/to/new/virtual/environment
1b. PC aka Windows Users runc:\>c:\Python35\python -m venv c:\path\to\myenv
note: basically you want to runpython3 -m venv django-env
while replacing django-env appropriately -
Execute Activate Command
2a. MAC aka BASH/ZSH Users runsource django-env/bin/activate
2b. PC aka Windows Users rundjango-env\Scripts\activate.bat
and if it doesn't work rundjango-env\Scripts\activate.ps1
-
Execute Run Server Command
3a. Mac aka BASH/ZSH and PC aka Windows Users runpython
manage.py
runserver
from app level - which is the same level within the project that contains themanage.py
file/utility to start Django server (more info below in the run django application instructions)
USE PIP TO INSTALL PROJECT DEPENDENCIES:
-
if installing after cloning a repo, run
pip install -r requirements.txt
to execute the command to read the requirements file and install everything in it -
if pip is already installed and want to install a package, run
pip install [insertpackagenamehere]
2a. next runpip freeze > requirements.txt
2b. this command creates a file called requirements.txt while populating the file with dependencies resulting from the install command in step 1 above. from the command line aka terminal runcat requirements.txt
to view dependencies listed in the file
note: pip is the standard package manager for python. visit python package index to learn more about packages. the command pip install
must be followed by the package you want to install. the command can be run to install the package with or without its dependencies
RUN A DJANGO APPLICATION:
- You must use the
manage.py
file/utility to run the server. From the command line/terminalcd
to the level where themanage.py
file/utility lives. Run the commandpython
manage.py
runserver
. You will know the command was successful when you see the following message (or something similar):
"Watching for file changes with StatReloader Performing system checks...
System check identified no issues (0 silenced).
You have 17 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py
migrate' to apply them.
May 17, 2019 - 16:09:28
Django version 2.2.1, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
"
note: the above message means the django application is running, you must visit the http://127.0.0.1:8000/
link to access the django application in browser. the django welcome/homepage may look like an error or exception. this is until you read what it says and follow the instructions to add url endpoints per your project into the browser. for example, http://127.0.0.1:8000
/(insert your url endpoint here without including the parentheses).
visit the pages, maybe even add your own artifact to the inheritance community - just please embrace the concept
Landing Page establishes overall ambiance and navigation. It also, through SYMBOLIC RELEASE, demonstrates our elevated dedication to self-awareness, getting beyond barriers, and holistic health.
Our Story shares insight, intent, and sense of community at the heart of the creation of Inheritance.
Add Artifact is the opportunity to consider what you will add to the story. In other words, what image and description you would submit as an artifact.
Gallery is a collection of the vibrancy of contributions through shared artifacts.
NEXT STEPS
- fluid interlocking image design on gallery page per image sizes
- maintain db content on re/new deploy (not delete on new deploy)
- refactor code to more efficiently handle dynamic randomized images
- revisit backlog and prioritize series of subsequent implementations
- purchase and implement domain for polished custom url experience
- upgrade heroku.com account to basic paid to maintain active server