mirror of
https://github.com/pinry/pinry.git
synced 2026-03-04 03:01:08 +01:00
Add docs on development
This commit is contained in:
31
docs/src/development.md
Normal file
31
docs/src/development.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# Developing Pinry
|
||||
|
||||
Pinry currently has two major requirements:
|
||||
|
||||
- Python 3.6+
|
||||
- Node 10+
|
||||
|
||||
For minor requirements you need two have installed two package managers that
|
||||
are not the defaults for these languages:
|
||||
|
||||
- Python, pipenv
|
||||
- Node, yarn
|
||||
|
||||
To install these is pretty simple, you can just run:
|
||||
|
||||
pip install pipenv
|
||||
npm install -g yarn
|
||||
|
||||
After that you can install this project with:
|
||||
|
||||
pipenv install --dev
|
||||
cd pinry-spa; yarn install
|
||||
|
||||
You will need to run two separate items as of right now, the SPA and the
|
||||
backend:
|
||||
|
||||
pipenv run python manage.py
|
||||
|
||||
And from another terminal:
|
||||
|
||||
cd pinry-spa; yarn serve
|
||||
Reference in New Issue
Block a user