Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bwc9876/cloudbox
Deploy and Use Cloud VMs. Technica 2023 Project
https://github.com/bwc9876/cloudbox
bootstrap django google-cloud paas web
Last synced: 22 days ago
JSON representation
Deploy and Use Cloud VMs. Technica 2023 Project
- Host: GitHub
- URL: https://github.com/bwc9876/cloudbox
- Owner: Bwc9876
- License: mit
- Created: 2023-10-21T20:42:07.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-23T14:41:24.000Z (about 1 year ago)
- Last Synced: 2024-11-01T01:05:22.730Z (2 months ago)
- Topics: bootstrap, django, google-cloud, paas, web
- Language: Python
- Homepage:
- Size: 191 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cloud Box
A website for hosting remote VMs and SSH-ing into them. Built on top of the Google Cloud Platform.
This is a site for [Technica 2023](https://technica-2023.devpost.com/), it was made using the following stack:
- Bootstrap
- Django
- Google Cloud
- Web SSH## Screenshots
![The Main Page](https://github.com/Bwc9876/CloudBox/assets/25644444/7f6a83cd-4bfb-45b6-a7fe-a2b7e2351045)
*The main page*![List of Boxes the User Has](https://github.com/Bwc9876/CloudBox/assets/25644444/5d5e2d67-e9fb-4f27-bea5-d877e6ea26ed)
*The Box list page where the user can create and run boxes*![SSH acces to a box](https://github.com/Bwc9876/CloudBox/assets/25644444/5587fc0a-3d01-4b08-b17b-c56b6958eed1)
*SSH Access to a box running `cowsay`*## Building
### Prerequisites
- Python 3.11
- Poetry
- Web SSH> ⚠️ **Warning**:
> Web SSH needs to be running and listening on port 8001 for SSH access to work### Development
```sh
poetry install
poetry run python manage.py migrate
poetry run python manage.py runserver
```### Production
Still install dependencies and migrate:
```sh
poetry install
poetry run python manage.py migrate
```In production, point the frontend web server to the WSGI module in `cloud_box.wsgi`
```sh
poetry run gunicorn cloud_box.wsgi
```### Environment Variables
- `SECRET_KEY` - Secret key to use in Django
- `PROD` - `true` or `false`, whether we're in production
- `DOMAIN` - The domain to add to allowed hosts in Django