You should already have at least django installed, I recommend creating the environment first, then install django and pipenv $ pip install django pipenv
, after that, proceed with the setup below.
- Create the new project using our template
django-admin.py startproject <YOUR_PROJECT_NAME> --template=https://github.com/codecraft63/django-base/archive/master.zip --extension=js,py,json,md,html,vue
- Change folder
$ cd <YOUR_PROJECT_NAME>
- Create your
.env
file, check.env.example
for reference - Install pipenv
$ pip install pipenv
(if you haven't already) - Run
$ pipenv install --dev
- Run
$ yarn install
- Run
$ ./manage.py migrate
- Run
$ ./manage.py runserver
- Run (in another term)
$ yartstart
- Open
http://localhost:8000
- ...
- Profit!