SoftDesk is a REST API, which allows to collaborate on projects, to raise problems. Each project has contributors who are added by the creator of the project.
This locally-executable API can be installed and executed from http://localhost:8000/ using the following steps.
For this method, it is necessary to have pipenv already installed on your python installation. If pipenv is not already installed on your computer, refer to this page.
- Clone this repository using
$ git clone https://github.com/mlsc63/SoftDesk.git - Move to the softdesk root folder with
$ cd SoftDesk - Install project dependencies with
pipenv install - Create and populate project database with
pipenv run python manage.py create_db - Run the server with
pipenv run python manage.py runserver
When the server is running after step 5 of the procedure, the OCMovies API can be requested from endpoints starting with the following base URL: http://localhost:8000/.
Steps 1-4 are only required for initial installation. For subsequent launches of the API, you only have to execute step 5 from the root folder of the project.
- Clone this repository using
$git clone https://github.com/mlsc63/SoftDesk.git - Move to the ocmovies-api root folder with
$ cd SoftDesk - Create a virtual environment for the project with
$ py -m venv envon windows or$ python3 -m venv envon macos or linux. - Activate the virtual environment with
$ env\Scripts\activateon windows or$ source env/bin/activateon macos or linux. - Install project dependencies with
$ pip install -r requirements.txt - Create and populate the project database with
$ python manage.py create_db - Run the server with
$ python manage.py runserver