On this page: https://preview.keenthemes.com/django/metronic/docs/getting-started there is a gap between 'Install Django' and 'Build Assets.' More specifically:
1. The guide says that:
"Assets compile require the build tools. These libraries are required as below:
Node.js 16.15.0+
Yarn 1.12.18+"
2. Where within our django installation do we install the 'starterkit/_keenthemes/tools' directory and files?
In my case I install in /opt/venv/mysiteapp after activating my server with 'source /opt/venv/mysite/bin/activate.' To help me keep things straight, my file directory looks like this:/opt
----/venv
--------/mysite
------------/bin
------------/include
------------/lib
------------/lib64
--------/mysiteapp
------------db.sqlite3
------------manage.py
------------/mysiteapp
----------------/__pycache__
----------------__init__.py
----------------asgi.py
----------------settings.py
----------------urls.py
----------------wsgi.py
Thank you! Really excited to get going!
Hi,
You can run your Django project as usual under the starterkit root folder. There's no need to install the 'starterkit/_keenthemes/tools' directory and files within your Django installation.
On this path, you need to install Node.js and Yarn, which will allow you to generate the assets (JavaScript and CSS files) for your Django project. Once Node.js and Yarn are installed, you can use them to compile the assets and then use these compiled assets within your Django project as needed.
Thanks