Skip to content

Commit

Permalink
deprecate some files
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelchin committed Dec 20, 2024
1 parent 3f45b98 commit 50d9cf2
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ The GPlates Web Service is created and maintained by [EarthByte](https://www.ear

Please give us a ⭐**star**⭐ to show your support for our development team. Thank you very much!!!

## 🤔 Why use GPlates Web Service
## 🤔 Why GPlates Web Service

- easy to use -- it can be as easy as opening a URL in a web browser or a one-line curl command in a terminal
- cross-platform and language-independent -- the service can be used in various programming languanges and on various operating systems
- cross-platform and programming language independent -- the service can be used in various programming languanges and on various operating systems
- scalability -- distribute workload among servers, cluster, grid or Cloud to improve throughput and support concurrent usage
- automated plate reconstruction model management -- provide a wide range of plate reconstruction models out of the box
- software deployment and upgrade -- make the software installation and upgrade easier
- software deployment and upgrade -- the software installation and upgrade is easier than local software

## 🚀 Quick start

Expand Down Expand Up @@ -57,7 +57,7 @@ The [gplates-js](https://github.com/michaelchin/gplates-js) is an experimental p

You are welcome to use our servers. But for better performance and data security, you might want to setup the service on your own server/personal computer.

Start your own GWS server is as simple as the one-line command below. You need [Docker](https://www.docker.com/get-started/) to run the commmand.
Start your own GWS server is as simple as the one-line command below, which needs [Docker](https://www.docker.com/get-started/) to run.

```
docker run -d --rm -p 18000:80 gplates/gws
Expand Down
11 changes: 8 additions & 3 deletions django/GWS/GWS/version.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
from django.http import HttpResponseBadRequest
from utils.decorators import return_HttpResponse

VERSION = "v1.0.0"
from utils.decorators import check_get_post_request_and_get_params, return_HttpResponse


@check_get_post_request_and_get_params
@return_HttpResponse()
def get_version(request, params={}):
def get_version(request):
if request.method != "GET":
return HttpResponseBadRequest(
"Only HTTP GET request is supported for this endpoint."
)
return VERSION
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
3 changes: 3 additions & 0 deletions scripts/gen_labels.py → scripts/deprecated/gen_labels.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env python

# This file is deprecated due to the redesign of plate labels.
# See https://github.com/GPlates/plate-labels instead

# use gplately and plate_model_manager to run this script
# this script do two things
# 1. assign plate ids for labels (pre-compute/pre-assign plate ids to improve response time)
Expand Down

0 comments on commit 50d9cf2

Please sign in to comment.