From 4be47fcf534066280b3e3e26bd1d50941b1db844 Mon Sep 17 00:00:00 2001
From: winkidney
+
+
+
@@ -430,6 +475,57 @@ backend:
And from another terminal:
cd pinry-spa; yarn serve
We have many tests built into Pinry to ensure that changes don't break +anything. If you are live dangerously and have cutting edge new Pinry +features first you can use our master branch for your own instance. We +recommend using our tags/versions though.
+To run Pinry's tests inside the Pinry repo run:
+pipenv run python manage.py test
+Follow the steps below to install Pinry locally or on any server. This +process installs the minimal requirements to run Pinry. For development +requirements and procedures, see testing above.
+Current docker configuration will just mount source code directory to
+docker app directory and run any codes existed in current git branch,
+you may also add "local_settings.py" to customize settings without
+changing settings file in pinry/settings.
Install the requirements:
+Set any custom configuration options you need and run::
+cp docker-compose.example.yml docker-compose.yml
+ # edit docker-compose.yml and change the secret-key,
+ # don't forget to backup this config file.
+ # You should build frontend first
+ docker-compose up build_frontend
+ # then start the backend server
+ docker-compose up -d web
If you want to run Pinry with current user in docker::
+./start_docker_with_current_user.sh [-d]
+Bootstrap the database(optional)::
+docker-compose exec web python3 manage.py migrate --settings=pinry.settings.docker
+Note : No static file server configured, your should configure nginx or other server to serve
+static files from ./static(as path /static) and ./pinry-spa/dist (as html root /)
q1{2@wzdJg6#?$dZ7;S(SB;0O#%5PT_p|91ZtQocSHGRQ2c_dcZ%B0?~
z?9Xx%uzO>j!}*ok#MQLj-%fdUrwmrn;uN7dVeZF5lZzM
{wf(^$x_AF3pW)c?i7r|1XoYCGf$vw9hoh{6LGK0YhnZ
zehDX&t>SE58u7Eo**A6+V9}WAQGF@|IoBg}utL35Sjz-#Gg>~745|R4Tk6lcl+}Zd
z>-DmCil;pibk5|7OJ{~p&LP+L&8yHrwniJ|>j&FClVhHOYE*_caeQZoqAgGQ1X}&q
zVn4|2&s(O}u{n!kD=G-giq8@ZtXc&j8dOSGWXP3Sl=*KC%19FwniKAutJ)x-wa~!h
zkK5;tt*