wlyhdg / vango

A project where I integrate Vue with Django

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vango

A project where I integrate Vue with Django

If you would like to create this project from scratch:
Please check the vango_instructions_steps.pdf in the top repo for step by steps. Aight, I need to catch some ZzZ now.

Startup:

  1. Clone the repo or manually download. You can clone by opening a console and typing

        git clone https://github.com/wlyhdg/vango.git

  1. Go into main project directory

        cd vango

  1. Use npm to install node.js module dependencies

        npm install

  1. On the side, open another console and navigate to this same location. Then run

        npm run dev

        We are done setting up this second console.

  1. In the starting console, run your python virtual environment using

        source vango-env/bin/activate


        Note: This is for a Mac setup. I will add virtual environment code for Windows soon, but
        in that case vango-env would have a vango/Scripts/activate.bat equivalent.

  1. Go into the directory that contains the python server running file 'manage.py'

        cd vango/vango

  1. Run the server

        python manage.py runserver

Now you can go into vango/vango/frontend/src and this will act as your Vue main directory. Vue code is already working and you can add a components folder, Vuex, Vue Router, etc.

Django rest framework is also installed if you want to add APIs and test a full stack application.

About

A project where I integrate Vue with Django


Languages

Language:Python 93.8%Language:HTML 2.7%Language:JavaScript 1.8%Language:CSS 1.5%Language:PowerShell 0.1%Language:Shell 0.1%Language:Vue 0.0%