@mamad86 : What is actually the name of the project you created?
Some images will be helpful.
RE: localhost does not connect in offline mode
From your hosts file, you can see that Laragon added 2 hosts:
Note: Uncomment (remove the
#) if you want localhost work.
RE: About Laragon v3 and its Packages
@pramadiputra : I've made a simple tutorial so that you can easy to follow:
[Tutorial] Getting started with Django + Laragon
Ensure you are in Laragon's Terminal (Menu > Laragon > Terminal) then type this:
pip install Django
That's all. You can check which Django version by:
python -m django --version
Write your first Django app
- Creating a project:
django-admin startproject mysite
- Go to
mysitedirectory, and run with the following commands:
cd mysite python manage.py runserver
Now, you can access Django Welcome page at:
You can follow further steps here:
RE: Npm install not working
@lullidebrosse : Check the log, you can see there are errors about permissions.
npm ERR! Error: EPERM: operation not permitted, rename 'C:\laragon\www\blog\node_modules\.staging\ajv-7d583b18' -> 'C:\laragon\www\blog\node_modules\har-validator\node_modules\ajv' npm ERR! at Error (native) parent: 'har-validator' } npm ERR! npm ERR! Please try running this command again as root/Administrator.
You can try installing Laragon to
D:partition and start again.