Skip to content

tayzarmein/python-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How To Set Up Project

1. Create python virtual environment.
    python3 -m venv ~/.virtualenvs/python-rest-api

2. Change into virtual environment directory
    cd ~/.virtualenvs/python-rest-api

3. Activate the virtual environment
    source ./bin/activate

3. Clone this repo
    git clone https://github.com/tayzarmein/python-rest-api.git mysite

4. Install required modules
    pip install -r ./mysite/requirements.txt

5. Change into project directory
    cd ./mysite

6. Run Migration (create required database and table)
    python manage.py migrate

7. Start the development server
    python manage.py runserver

8. open http://localhost:8000/ in browser
 


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages