https://github.com/onecommons/unfurl-campsite
An Unfurl project for deploying Campsite
https://github.com/onecommons/unfurl-campsite
Last synced: 4 months ago
JSON representation
An Unfurl project for deploying Campsite
- Host: GitHub
- URL: https://github.com/onecommons/unfurl-campsite
- Owner: onecommons
- Created: 2021-02-17T02:50:40.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-12-15T18:24:40.000Z (over 4 years ago)
- Last Synced: 2025-10-19T11:17:07.535Z (8 months ago)
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Unfurl for Campsite
This repository contains an Unfurl project for deploying a demonstration version of [Campsite](https://github.com/dnielsen/campsite) to a compute instance on AWS and Google Cloud.
Unfurl runs on any Linux or Mac machine with Python (3.7 or later) and Git installed. To install it run:
`pip install unfurl`
Now you can clone ensembles just like you would clone a git repository.
To clone it, run:
``unfurl clone https://github.com/onecommons/unfurl_campsite.git``
To deploy your app of AWS or GCP:
``cd unfurl_campsite``
and then either
``unfurl deploy aws``
or
``unfurl deploy gcp``
For unfurl to have access to your cloud provider account you will need to have setup default credentials or you can set their environment variables (e.g. AWS_ACCESS_KEY_ID or GOOGLE_APPLICATION_CREDENTIALS).
If you just installed `unfurl` this will take a few minutes as it creates your
`unfurl_home` and installs its dependencies. Then it will deploy the ensemble and the final lines of output should look like:
```
> Outputs:
> site_url: http://127.0.0.1:4000/
```
To destroy the instance you have created, run:
``unfurl undeploy aws`` or ``unfurl undeploy gcp``