Your Mac will need to be running Python3 and some OS libraries for GovReady-Q's full features. Below are instructions for setting up your MacOS OS 10.14 or higher using Brew.
# install dependencies using brew
brew install python3
cd ../ | |
git clone https://github.com/usnistgov/OSCAL usnistgov-oscal | |
cd usnistgov-oscal/ | |
git checkout metaschema-m4-integration | |
ls | |
git submodule update --init | |
ls | |
cd build | |
docker-compose build | |
sublime ./ |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<title>Pyodide</title> | |
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"> | |
<meta content="utf-8" http-equiv="encoding"> | |
<script type="text/javascript" src="pyodide.js"></script> | |
</head> | |
<body> | |
<h1>My Pyodide Page</h2> |
You can easily remove them using vim, here are the steps:
vim file_name
:set nobomb
This gist contains information on code scanning soon to be added to https://govready-q.readthedocs.io/en/latest/Test.html
GovReady-Q's unit tests and integration tests are currently combined. Our integration tests uses Selenium to simulate user interactions with the interface.
To run the integration tests, you'll also need to install chromedriver:
# Install django-extensions
# http://django-extensions.readthedocs.io/en/latest/installation_instructions.html
pip3 install django-extensions
# Add django-extensions INSTALLED_APPS in siteapp > settings.py
# INSTALLED_APPS = (
# ...
# 'django_extensions',
# )
Step-by-step guide to creating compliance apps using docker version of GovReady-Q Commpliance Server.
We need a place to download GovReady's install script, a place for GovReady's local sqlite database, and finally a place to store our apps for local development.
These places can be any directory path. For simplicity, let's create a single directory to store the install script and sqlite database and a subdirectory for local compliance app development.
See: Apple Forum Answer
<html> | |
<head> | |
<title>MySite</title> | |
</head> | |
<body> | |
<h1>Welcome To MySite</h1> | |
<p>This is a worked example of patching source code.</p> | |
</body> | |
</html> |