1.0.1
modified: README.rst modified: development.ini modified: setup.py
This commit is contained in:
parent
d7410f2b80
commit
20caa87419
3 changed files with 22 additions and 3 deletions
21
README.rst
21
README.rst
|
|
@ -43,8 +43,27 @@ This Makefile-based workflow lets you choose between installing ``make_post_sell
|
|||
|
||||
3. **Start the Development Server**
|
||||
|
||||
You'll want to configure the system in ``data/development.ini``.
|
||||
|
||||
Typically I control most stuff with environment vars, for example ``vars.sh``::
|
||||
|
||||
# boto3 style credentials for s3/digital-ocean spaces.
|
||||
# this is for storing content & physical products.
|
||||
export MPS_APP_MAIN_BUCKET="removed"
|
||||
export MPS_APP_SECURE_UPLOADS_ACCESS_KEY="removed"
|
||||
export MPS_APP_SECURE_UPLOADS_SECRET_KEY="removed"
|
||||
|
||||
# stripe keys for collecting credit cards & crypto.
|
||||
export MPS_TEST_STRIPE_PUBLIC_API_KEY="pk_test_removed"
|
||||
export MPS_TEST_STRIPE_SECRET_API_KEY="sk_test_removed"
|
||||
|
||||
# the root domain acts as a SaaS for many shop domains!
|
||||
export MAKE_POST_SELL_ROOT_DOMAIN="example.com"
|
||||
export MAKE_POST_SELL_ROOT_URL="http://example.com:6502"
|
||||
|
||||
With the virtual environment active, start the server::
|
||||
|
||||
|
||||
source var.sh
|
||||
make serve
|
||||
|
||||
Then browse to `http://127.0.0.1:6501/ <http://127.0.0.1:6501/>`_ to view the app.
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ app.make_post_sell.root_domain_owner_email = ${MAKE_POST_SELL_DOMAIN_OWNER_EMAIL
|
|||
|
||||
# TODO: these values should be moved to environment variables & we should create an
|
||||
# example app.env environment file.
|
||||
app.bucket.secure_uploads = plan-period-files
|
||||
app.bucket.secure_uploads = ${MPS_APP_MAIN_BUCKET}
|
||||
app.bucket.secure_uploads.region = nyc3
|
||||
app.bucket.secure_uploads.post_endpoint = https://nyc3.digitaloceanspaces.com
|
||||
app.bucket.secure_uploads.get_endpoint = https://plan-period-files.nyc3.cdn.digitaloceanspaces.com
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -27,7 +27,7 @@ with open(os.path.join(here, "README.rst"), "r", encoding="utf-8") as f:
|
|||
|
||||
setup(
|
||||
name="make_post_sell",
|
||||
version="1.0.0",
|
||||
version="1.0.1",
|
||||
description="Make Post Sell",
|
||||
long_description=long_description,
|
||||
classifiers=[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue