(Jan-29-2019, 05:48 PM)snippsat Wrote: To test it with Python 3.7 as it's 1.5 year since i made it.
It's nice to have all in one place,but it's not needed to run a template with Flask that i think you try to do.
# Make virtual environment E:\div_code λ python -m venv flask_env # cd in E:\div_code λ cd flask_env # Activate E:\div_code\flask_env λ E:\div_code\flask_env\Scripts\activate # Here you most see (flask_env) (flask_env) E:\div_code\flask_env λ pip -V pip 10.0.1 from e:\div_code\flask_env\lib\site-packages\pip (python 3.7) # Upgrade pip (flask_env) E:\div_code\flask_env λ python -m pip install --upgrade pip Collecting pip Downloading https://files.pythonhosted.org/packages/46/dc/3...../pip-19.0.1-py2.py3-none-any.whl (1.4MB) 100% |████████████████████████████████| 1.4MB 2.4MB/s Installing collected packages: pip Found existing installation: pip 10.0.1 Uninstalling pip-10.0.1: Successfully uninstalled pip-10.0.1 Successfully installed pip-19.0.1 # Test pip it's 19.0 (flask_env) E:\div_code\flask_env λ pip -V pip 19.0.1 from e:\div_code\flask_env\lib\site-packages\pip (python 3.7)So at this point virtual environment work.
Most stay in environment active(flask_env)
.
Then install Flask and nodeenv.
# install flask (flask_env) E:\div_code\flask_env λ pip install flask Collecting flask ..... Installing collected packages: click, itsdangerous, MarkupSafe, Jinja2, Werkzeug, flask Successfully installed Jinja2-2.10 MarkupSafe-1.1.0 Werkzeug-0.14.1 click-7.0 flask-1.0.2 itsdangerous-1.1.0 # Install nodeenv (flask_env) E:\div_code\flask_env λ pip install nodeenv Collecting nodeenv Downloading https://files.pythonhosted.org/packages/00/6e/e....../nodeenv-1.3.3.tar.gz Successfully installed nodeenv-1.3.3 # Now use nodeenv -p (flask_env) E:\div_code\flask_env λ nodeenv -p * Install prebuilt node (11.8.0) ..... done. * Overwriting e:\div_code\flask_env\Scripts\activate.bat with new content * Overwriting e:\div_code\flask_env\Scripts\deactivate.bat with new content * Overwriting e:\div_code\flask_env\Scripts\Activate.ps1 with new content symbolic link created for e:\div_code\flask_env\Scripts\nodejs.exe <<===>> node.exe * Install npm.js (latest) ... # Test node (flask_env) E:\div_code\flask_env λ node -v v11.8.0 # Test npm (flask_env) E:\div_code\flask_env λ npm -v 6.7.0So it still work,try to follow it and do not skip a step.
i just do it in my digitalocean droplen and it works, im changin the paths to the css of the html file,
the template taht i bought is this one https://themeforest.net/item/ubold-respo...t/13489470
and they said you need to do "gup build" in order to run the template, or at least that is in the documentation.
so i just need to have this template runnig, so im pretty confused on how can i accomplish this, but do you think this is the simplest way?
any way im ready to test this let me se if it works
Quote:i just do it in my digitalocean droplen and it works, im changin the paths to the css of the html file,
the template taht i bought is this one https://themeforest.net/item/ubold-respo...t/13489470
and they said you need to do "gup build" in order to run the template, or at least that is in the documentation.
so i just need to have this template runnig, so im pretty confused on how can i accomplish this, but do you think this is the simplest way?
any way im ready to test this let me se if it works
seems like im getting to the index.html, but whit out any style :/