Skip to content

Commit

Permalink
👾💈 -> Adding supa config to [ #1 ]
Browse files Browse the repository at this point in the history
  • Loading branch information
Gizmotronn committed Oct 22, 2022
1 parent 8faa46d commit 429401b
Show file tree
Hide file tree
Showing 202 changed files with 38 additions and 49,025 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions .flaskenv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
FLASK_ENV=development
FLASK_APP=main.py
9,565 changes: 0 additions & 9,565 deletions Ansible/Data/cumulative.csv

This file was deleted.

247 changes: 0 additions & 247 deletions Ansible/Generator/Components/Binning.ipynb

This file was deleted.

351 changes: 0 additions & 351 deletions Ansible/Generator/Components/MultiSector.ipynb

This file was deleted.

332 changes: 0 additions & 332 deletions Ansible/Generator/Components/Period.ipynb

This file was deleted.

239 changes: 0 additions & 239 deletions Ansible/Generator/Components/PhaseFolding.ipynb

This file was deleted.

291 changes: 0 additions & 291 deletions Ansible/Generator/Components/Radius.ipynb

This file was deleted.

25 changes: 0 additions & 25 deletions Ansible/Generator/Detection/TransitTimeVariation.ipynb

This file was deleted.

880 changes: 0 additions & 880 deletions Ansible/Generator/Identifier.ipynb

This file was deleted.

15 changes: 0 additions & 15 deletions Ansible/Generator/Pipfile

This file was deleted.

690 changes: 0 additions & 690 deletions Ansible/Generator/PlanetStats.ipynb

This file was deleted.

30 changes: 0 additions & 30 deletions Ansible/Generator/Star Generation/StellarVariability.ipynb

This file was deleted.

324 changes: 0 additions & 324 deletions Ansible/Generator/Verification/BackgroundFlux.ipynb

This file was deleted.

244 changes: 0 additions & 244 deletions Ansible/Generator/Verification/TargetPixelFiles.ipynb

This file was deleted.

23 changes: 0 additions & 23 deletions Ansible/Pipfile

This file was deleted.

919 changes: 0 additions & 919 deletions Ansible/Pipfile.lock

This file was deleted.

48 changes: 0 additions & 48 deletions Ansible/Terraform/cli.py

This file was deleted.

21 changes: 0 additions & 21 deletions Ansible/commands.py

This file was deleted.

31 changes: 0 additions & 31 deletions Ansible/docs/API/cuttle-process.md

This file was deleted.

1 change: 0 additions & 1 deletion Ansible/docs/test.md

This file was deleted.

9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,11 @@ Check out our compass [here](http://ar.skinetics.tech/stellarios/compass) for mo
<!--
Move `/server` into a separate submodule (or `styizen` into a submodule in another repo)
Add react config (for frontend framework) to react, then move it into `signal-k/polygon`
-->
-->

## Supa branch
This branch contains a connection between Supabase (our current hosting platform for this backend) and the rest our our Notebooks & API. Everything else has been stripped out of this branch.

Run `python3 -m venv .venv` to get started.

Note: Start integrating in API from signal-k/polygon
3 changes: 0 additions & 3 deletions cli/go.mod

This file was deleted.

45 changes: 0 additions & 45 deletions cli/main.go

This file was deleted.

1 change: 0 additions & 1 deletion cli/planet-pull.go

This file was deleted.

Empty file added lib/__init__.py
Empty file.
19 changes: 19 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
from flask import Flask, jsonify
from models.planets import planets

app = Flask(__name__)

@app.route('/')
def hello_world():
return jsonify({
'greeting': 'Hello World!'
})

@app.route('/planets')
def get_planets():
return jsonify({
'planets': planets, # Then present this on react frontend, port 5000 -> 3000
})

if __name__ == '__main__':
app.run(host='0.0.0.0', debug = True)
Empty file added models/__init__.py
Empty file.
7 changes: 7 additions & 0 deletions models/planets.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
planets = [
{"id": 1, "title": "Mercury",},
{"id": 2, "title": "Venus",},
{"id": 3, "title": "Earth",}
]

# Add a notebooks & TIC class/model
24 changes: 0 additions & 24 deletions node_modules/.yarn-integrity

This file was deleted.

21 changes: 0 additions & 21 deletions node_modules/asynckit/LICENSE

This file was deleted.

Loading

1 comment on commit 429401b

@Gizmotronn
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.