GithubHelp home page GithubHelp logo

flutteranddjangohmsapp's Introduction

# install the package virtualenv
~~~pip install virtualenv

# setup envioronment for the python api
python -m virtualenv projectenv

# if using python >= 3.3
~~~~~ python -m venv env

# start the environment in linux using 
~~~~~~ blackhat_hms/bin/activate

# or in windows
# windows
projectenv\Scripts\activate

python -m venv <venv-name>
# To activate
#C:\Users\..\<venv-name>
.\Scripts\activate.bat

~~~~~ env\activate.bat
or navigate into the bin folder and type "activate" from you commad line 

# when you are done using the environment, type in the command below
~~~~ deactivate


Follow link to see how to setup python enviroment
https://uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/26/python-virtual-env/









# To generate your requrements file do:
pip freeze > requirements.py

# To install the requrements do: 
pip install -r requirements.py

# If you want to make sure pip is using python3, you can do this:
Cd blackhat_hms
 pip3 freeze > requirements.py
 pip3 install -r requirements.py

# Or:
pip3 freeze > requirements.py

To install packages
pip3 install -r requirements.py


django create new project
~~~ django-admin startproject {project-name}

~~~ python manage.py runserver 



https://www.django-rest-framework.org/
https://docs.djangoproject.com/en/4.1/intro/tutorial01/


SUperUser credentials
username: zak
Email: [email protected]
password: 12345678









flutteranddjangohmsapp's People

Contributors

yussifm avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.