Skip to content

aruniverse/dva

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

109 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dva project

Requirements

Local Development with Client

cd services/client
yarn install
yarn run

Go to localhost:3000 to see the client being served up

Local Development with Server

I'd recommend using virtualenv to help manage & distinguish which packages are being used for this project. To get setup follow the below instructions.

cd services/server
pip install virtualenv
virtualenv venv

You'll have to now activate the virtual environment

On Unix:

source venv/bin/activate

On Windows:

venv/Scripts/activate.bat

To deactivate just run deactivate

To install server dependencies run pip install -r requirements.txt.

If you add or update any packages being used, you should run pip freeze > requirements.txt while the virtualenv is activated.

Running server:

Within virtualvenv run the following

python ./manage.py runserver

Go to localhost:8000 to see the django server. Eventually the server won't have a ui, and will just be our api server.

Git workflow

# create and checkout a branch
git checkout -b MyBranchName master

# stage and add new changes
git add .

# commit your changes
git commit -am "Commit message"

# if you've never published the branch run
git push -u origin MyBranchName

# otherwise run
git push

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors