Skip to content

Commit 2d23306

Browse files
committed
chore: Remove vestigial Dotcloud assets
1 parent 686f6f0 commit 2d23306

8 files changed

Lines changed: 20 additions & 483 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ Documentation
2020
-------------
2121
All of our documentation is is our `doc` directory. Use it to learn more about:
2222
* [local setup](https://github.com/openplans/shareabouts-api/blob/master/doc/README.md)
23-
* [how to deploy to DotCloud](https://github.com/openplans/shareabouts-api/blob/master/doc/DEPLOY.md)
23+
* [how to deploy to Heroku or GCP](https://github.com/openplans/shareabouts-api/blob/master/doc/DEPLOY.md)
2424
* [upgrading from an older version](https://github.com/openplans/shareabouts-api/blob/master/doc/UPGRADE.md)
2525

2626
Demo
2727
------------
28-
Please feel free to check out our [staging server](http://sapistaging-civicworks.dotcloud.com/manage/datasets/) to see how it work. Use username `demo-user` and password `demo`
28+
Please feel free to check out our [staging server](http://shareaboutsapi-gcp-dev.poepublic.com/manage/datasets/) to see how it work. Use username `demo-user` and password `demo`
2929

3030
Contributing
3131
------------

app.json

Lines changed: 0 additions & 36 deletions
This file was deleted.

doc/API.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -349,11 +349,11 @@ Create a place for a dataset
349349
"created_datetime": "2013-04-29T22:20:58.010Z",
350350
"description": "This is a great location.",
351351
"dataset": {
352-
"url": "http://shareaboutsapi-civicworks.dotcloud.com/api/v1/demo-user/datasets/demo-data/"
352+
"url": "http://shareaboutsapi-gcp-dev.poepublic.com/api/v1/demo-user/datasets/demo-data/"
353353
},
354354
"visible": true,
355355
"location": {"lat": 40.7204450013, "lng": -73.999908685700007},
356-
"url": "http://shareaboutsapi-civicworks.dotcloud.com/api/v1/demo-user/datasets/demo-data/places/29664/",
356+
"url": "http://shareaboutsapi-gcp-dev.poepublic.com/api/v1/demo-user/datasets/demo-data/places/29664/",
357357
"submitter_name": "Aaron",
358358
"submissions": [],
359359
"id": 29664,
@@ -389,11 +389,11 @@ Get a place
389389
"created_datetime": "2013-04-29T22:20:58.010Z",
390390
"description": "This is a REALLY great location.",
391391
"dataset": {
392-
"url": "http://shareaboutsapi-civicworks.dotcloud.com/api/v1/demo-user/datasets/demo-data/"
392+
"url": "http://shareaboutsapi-gcp-dev.poepublic.com/api/v1/demo-user/datasets/demo-data/"
393393
},
394394
"visible": true,
395395
"location": {"lat": 40.7204450013, "lng": -73.999908685700007},
396-
"url": "http://shareaboutsapi-civicworks.dotcloud.com/api/v1/demo-user/datasets/demo-data/places/29664/",
396+
"url": "http://shareaboutsapi-gcp-dev.poepublic.com/api/v1/demo-user/datasets/demo-data/places/29664/",
397397
"submitter_name": "Frank",
398398
"submissions": [],
399399
"id": 29664,
@@ -434,11 +434,11 @@ Update a place for a dataset
434434
"created_datetime": "2013-04-29T22:20:58.010Z",
435435
"description": "This is a REALLY great location.",
436436
"dataset": {
437-
"url": "http://shareaboutsapi-civicworks.dotcloud.com/api/v1/demo-user/datasets/demo-data/"
437+
"url": "http://shareaboutsapi-gcp-dev.poepublic.com/api/v1/demo-user/datasets/demo-data/"
438438
},
439439
"visible": true,
440440
"location": {"lat": 40.7204450013, "lng": -73.999908685700007},
441-
"url": "http://shareaboutsapi-civicworks.dotcloud.com/api/v1/demo-user/datasets/demo-data/places/29664/",
441+
"url": "http://shareaboutsapi-gcp-dev.poepublic.com/api/v1/demo-user/datasets/demo-data/places/29664/",
442442
"submitter_name": "Frank",
443443
"submissions": [],
444444
"id": 29664,
@@ -584,12 +584,12 @@ Get all submissions of a particular type for a dataset
584584
"id": 13,
585585
"place": {
586586
"id": 8,
587-
"url": "http://shareaboutsapi-civicworks.dotcloud.com/api/v1/demo-user/datasets/demo-data/places/8/"
587+
"url": "http://shareaboutsapi-gcp-dev.poepublic.com/api/v1/demo-user/datasets/demo-data/places/8/"
588588
},
589589
"submitter_name": "",
590590
"type": "comments",
591591
"updated_datetime": "2012-08-27T14:46:23.330Z",
592-
"url": "http://shareaboutsapi-civicworks.dotcloud.com/api/v1/demo-user/datasets/demo-data/places/8/comments/13/",
592+
"url": "http://shareaboutsapi-gcp-dev.poepublic.com/api/v1/demo-user/datasets/demo-data/places/8/comments/13/",
593593
"visible": true
594594
},
595595
...
@@ -680,7 +680,7 @@ Create a submission for a place
680680

681681
**Content type**: application/json
682682

683-
**Sample URL**: http://shareabouts-civicworks.dotcloud.com/api/places/29664/comments/
683+
**Sample URL**: http://shareaboutsapi-gcp-dev.poepublic.com/api/places/29664/comments/
684684

685685
**Sample Request Data**:
686686

@@ -701,10 +701,10 @@ Create a submission for a place
701701
"created_datetime": "2013-04-30T15:38:54.449Z",
702702
"visible": true,
703703
"place": {
704-
"url": "http://shareaboutsapi-civicworks.dotcloud.com/api/v1/demo-user/datasets/demo-data/places/29664/",
704+
"url": "http://shareaboutsapi-gcp-dev.poepublic.com/api/v1/demo-user/datasets/demo-data/places/29664/",
705705
"id": 29664
706706
},
707-
"url": "http://shareaboutsapi-civicworks.dotcloud.com/api/v1/demo-user/datasets/demo-data/places/29664/comments/29671/",
707+
"url": "http://shareaboutsapi-gcp-dev.poepublic.com/api/v1/demo-user/datasets/demo-data/places/29664/comments/29671/",
708708
"submitter_name": "Andy",
709709
"type": "comments",
710710
"id": 29671
@@ -726,7 +726,7 @@ Get a submission for a place
726726

727727
**Response Formats**: JSON (default), CSV, HTML, XML
728728

729-
**Sample URL**: http://shareabouts-civicworks.dotcloud.com/api/places/29664/comments/29671/
729+
**Sample URL**: http://shareaboutsapi-gcp-dev.poepublic.com/api/places/29664/comments/29671/
730730

731731
**Sample Response**:
732732

@@ -739,12 +739,12 @@ Get a submission for a place
739739
"id": 29671,
740740
"place": {
741741
"id": 29664,
742-
"url": "http://shareaboutsapi-civicworks.dotcloud.com/api/v1/demo-user/datasets/demo-data/places/29664/"
742+
"url": "http://shareaboutsapi-gcp-dev.poepublic.com/api/v1/demo-user/datasets/demo-data/places/29664/"
743743
},
744744
"submitter_name": "Andy",
745745
"type": "comments",
746746
"updated_datetime": "2013-04-30T15:48:13.395Z",
747-
"url": "http://shareaboutsapi-civicworks.dotcloud.com/api/v1/demo-user/datasets/demo-data/places/29664/comments/29671/",
747+
"url": "http://shareaboutsapi-gcp-dev.poepublic.com/api/v1/demo-user/datasets/demo-data/places/29664/comments/29671/",
748748
"visible": true
749749
}
750750

@@ -759,7 +759,7 @@ Update a submission for a place of a specific type
759759

760760
**Content type**: application/json
761761

762-
**Sample URL**: http://shareabouts-civicworks.dotcloud.com/api/places/29664/comments/29671/
762+
**Sample URL**: http://shareaboutsapi-gcp-dev.poepublic.com/api/places/29664/comments/29671/
763763

764764
**Sample Request Data**:
765765

@@ -780,12 +780,12 @@ Update a submission for a place of a specific type
780780
"id": 29671,
781781
"place": {
782782
"id": 29664,
783-
"url": "http://shareaboutsapi-civicworks.dotcloud.com/api/v1/demo-user/datasets/demo-data/places/29664/"
783+
"url": "http://shareaboutsapi-gcp-dev.poepublic.com/api/v1/demo-user/datasets/demo-data/places/29664/"
784784
},
785785
"submitter_name": "Andy",
786786
"type": "comments",
787787
"updated_datetime": "2013-04-30T15:48:13.395Z",
788-
"url": "http://shareaboutsapi-civicworks.dotcloud.com/api/v1/demo-user/datasets/demo-data/places/29664/comments/29671/",
788+
"url": "http://shareaboutsapi-gcp-dev.poepublic.com/api/v1/demo-user/datasets/demo-data/places/29664/comments/29671/",
789789
"visible": true
790790
}
791791

@@ -797,7 +797,7 @@ Delete a submission
797797

798798
**Authentication**: Basic, session, or key auth *(required)*
799799

800-
**Sample URL**: http://shareabouts-civicworks.dotcloud.com/api/places/29664/comments/29671/
800+
**Sample URL**: http://shareaboutsapi-gcp-dev.poepublic.com/api/places/29664/comments/29671/
801801

802802
**Sample Response**:
803803

doc/BACKUP.md

Lines changed: 0 additions & 47 deletions
This file was deleted.

doc/DEPLOY.md

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -2,50 +2,6 @@ These instructions apply only to the "Shareabouts API" application.
22
If you are also building and installing the Shareabouts web front-end,
33
it has its own documentation.
44

5-
Deploying to DotCloud
6-
---------------------
7-
8-
At OpenPlans, we have been deploying Shareabouts to DotCloud internally, so many
9-
of the files necessary are already in the repository.
10-
11-
* First, create a new dotcloud application from the contents of the `master` branch:
12-
13-
dotcloud create <instance name>
14-
15-
* Push the code to DotCloud. This will take several minutes the first time.
16-
17-
dotcloud push -A <instance name> --git
18-
19-
Note you should first either push all your changes to your master
20-
repository (eg. github or whatever you're using for version
21-
control); otherwise you must use the dotcloud push --all option.
22-
23-
For more options, see `dotcloud push --help`
24-
25-
* If you wish to use attachments, you'll need to set up your Django storage
26-
settings. By default, Django uses a FileSystemStorage backend, which stores
27-
files on a local file system. If you wish to use this default, then set your
28-
MEDIA_ROOT and MEDIA_URL in local_settings.py (see Django's documentation on
29-
[The built-in filesystem storage class](https://docs.djangoproject.com/en/1.4/topics/files/#the-built-in-filesystem-storage-class)).
30-
31-
You can alternatively use Amazon S3 to store and serve your uploaded media.
32-
To use this option, on DotCloud, set the following variables:
33-
34-
dotcloud env -A <instance name> set \
35-
SHAREABOUTS_AWS_KEY=<AWS access key id>\
36-
SHAREABOUTS_AWS_SECRET=<AWS secret access key>\
37-
SHAREABOUTS_AWS_BUCKET=<S3 bucket name>
38-
39-
The Shareabouts API server uses *django-storages* to for media storage. Refer
40-
to their [documentation](http://django-storages.readthedocs.org/) for more
41-
information.
42-
43-
* On first deploy only: You'll want to create a superuser to get in to
44-
the management UI:
45-
46-
dotcloud run -A <instance name> www current/src/manage.py createsuperuser
47-
48-
495
Deploying to Heroku
506
-------------------
517

doc/MIGRATE_TO_HEROKU.md

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)