Minor cleanup and fixes

This commit is contained in:
Alan Rynne
2021-11-04 10:59:15 +01:00
parent 2d9f179c14
commit 208fdb4ae3
9 changed files with 29 additions and 109 deletions
+10 -2
View File
@@ -75,6 +75,11 @@ Returns the diff commit if the operation was successfull.
# Workshop pre-requisites
You'll need an IDE to follow along with the code. We'll be using VSCode for the class, but any other will work too. You will also need the following extensions:
- Vetur
- Python (comes preinstalled now, but just to be safe)
For the **server**, you must have:
- `python` installed in your computer (at least version `3.6`, `3.9` recommended) [Download it here](https://www.python.org/downloads/)
@@ -84,11 +89,14 @@ For the **server**, you must have:
# and then
pip install "uvicorn[standard]"
```
-
- Install `specklepy`
```shell
pip install specklepy
```
For the **Vue app**:
- Install `node` [Download it here](https://nodejs.org/en/download/)
- Install `vue CLI` - [Instructions here](https://cli.vuejs.org/guide/installation.html)
- Install `vetur` VSCode extension
- Install `vue dev tools` for Chrome
- Install `vue dev tools` for Chrome
-78
View File
@@ -1,78 +0,0 @@
<h1 align="center">
<img src="https://user-images.githubusercontent.com/2679513/131189167-18ea5fe1-c578-47f6-9785-3748178e4312.png" width="150px"/><br/>
Speckle | Revit Dashboard
</h1>
<h3 align="center">
Speckle App to display Revit commits
</h3>
<p align="center"><b>Speckle</b> is data infrastructure for the AEC industry.</p><br/>
<p align="center"><a href="https://twitter.com/SpeckleSystems"><img src="https://img.shields.io/twitter/follow/SpeckleSystems?style=social" alt="Twitter Follow"></a> <a href="https://speckle.community"><img src="https://img.shields.io/discourse/users?
server=https%3A%2F%2Fspeckle.community&amp;style=flat-square&amp;logo=discourse&amp;logoColor=white" alt="Community forum users"></a> <a href="https://speckle.systems"><img src="https://img.shields.io/badge/https://-speckle.systems-royalblue?style=flat-square" alt="website"></a> <a href="https://speckle.guide/dev/"><img src="https://img.shields.io/badge/docs-speckle.guide-orange?style=flat-square&amp;logo=read-the-docs&amp;logoColor=white" alt="docs"></a></p>
<p align="center"><a href="https://circleci.com/gh/specklesystems/speckle-sharp"><img src="https://circleci.com/gh/specklesystems/speckle-sharp.svg?style=svg" alt=".NET Core"></a></p>
# About Speckle
What is Speckle? Check our ![YouTube Video Views](https://img.shields.io/youtube/views/B9humiSpHzM?label=Speckle%20in%201%20minute%20video&style=social)
### Features
- **Object-based:** say goodbye to files! Speckle is the first object based platform for the AEC industry
- **Version control:** Speckle is the Git & Hub for geometry and BIM data
- **Collaboration:** share your designs collaborate with others
- **3D Viewer:** see your CAD and BIM models online, share and embed them anywhere
- **Interoperability:** get your CAD and BIM models into other software without exporting or importing
- **Real time:** get real time updates and notifications and changes
- **GraphQL API:** get what you need anywhere you want it
- **Webhooks:** the base for a automation and next-gen pipelines
- **Built for developers:** we are building Speckle with developers in mind and got tools for every stack
- **Built for the AEC industry:** Speckle connectors are plugins for the most common software used in the industry such as Revit, Rhino, Grasshopper, AutoCAD, Civil 3D, Excel, Unreal Engine, Unity, QGIS, Blender and more!
### Try Speckle now!
Give Speckle a try in no time by:
- [![speckle XYZ](https://img.shields.io/badge/https://-speckle.xyz-0069ff?style=flat-square&logo=hackthebox&logoColor=white)](https://speckle.xyz) ⇒ creating an account at
- [![create a droplet](https://img.shields.io/badge/Create%20a%20Droplet-0069ff?style=flat-square&logo=digitalocean&logoColor=white)](https://marketplace.digitalocean.com/apps/speckle-server?refcode=947a2b5d7dc1) ⇒ deploying an instance in 1 click
### Resources
- [![Community forum users](https://img.shields.io/badge/community-forum-green?style=for-the-badge&logo=discourse&logoColor=white)](https://speckle.community) for help, feature requests or just to hang with other speckle enthusiasts, check out our community forum!
- [![website](https://img.shields.io/badge/tutorials-speckle.systems-royalblue?style=for-the-badge&logo=youtube)](https://speckle.systems) our tutorials portal is full of resources to get you started using Speckle
- [![docs](https://img.shields.io/badge/docs-speckle.guide-orange?style=for-the-badge&logo=read-the-docs&logoColor=white)](https://speckle.guide/dev/) reference on almost any end-user and developer functionality
![Untitled](https://user-images.githubusercontent.com/2679513/132021739-15140299-624d-4410-98dc-b6ae6d9027ab.png)
# Repo structure
> TBD!!!
- `frontend/`
- `backend/`
### Other repos
Make sure to also check and ⭐️ these other Speckle repositories:
- [`speckle-sharp`](https://github.com/specklesystems/speckle-sharp): .NET SDK, tooling, schema and Connectors
- [`speckle-server`](https://github.com/specklesystems/speckle-server): Server and Web packages
- [`specklepy`](https://github.com/specklesystems/specklepy): Python SDK 🐍
- [`speckle-excel`](https://github.com/specklesystems/speckle-excel): Excel connector
- [`speckle-unity`](https://github.com/specklesystems/speckle-unity): Unity 3D connector
- [`speckle-blender`](https://github.com/specklesystems/speckle-blender): Blender connector
- [`speckle-unreal`](https://github.com/specklesystems/speckle-unreal): Unreal Engine Connector
- [`speckle-qgis`](https://github.com/specklesystems/speckle-qgis): QGIS connectod
- [`speckle-powerbi`](https://github.com/specklesystems/speckle-powerbi): PowerBi connector
- and more [connectos & tooling](https://github.com/specklesystems/)!
## Developing and Debugging
This app uses Vue.js 2. In order to run it locally
### Security
For any security vulnerabilities or concerns, please contact us directly at security[at]speckle.systems.
### License
Unless otherwise described, the code in this repository is licensed under the Apache-2.0 License. Please note that some modules, extensions or code herein might be otherwise licensed. This is indicated either in the root of the containing folder under a different license file, or in the respective file's header. If you have any questions, don't hesitate to get in touch with us via [email](mailto:hello@speckle.systems).
+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "speckle-revit-dashboard-app",
"name": "speckle-aec-tech-masterclass",
"version": "0.1.0",
"lockfileVersion": 1,
"requires": true,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "speckle-revit-dashboard-app",
"name": "speckle-aec-tech-masterclass",
"version": "0.1.0",
"private": true,
"scripts": {
-10
View File
@@ -83,16 +83,6 @@
<v-icon small>mdi-account</v-icon>
</v-list-item-icon>
</v-list-item>
<v-list-item
link
href="https://speckle.systems/tutorials/revit-dash/"
target="_blank"
>
<v-list-item-title>Feedback</v-list-item-title>
<v-list-item-icon>
<v-icon small>mdi-message-alert-outline</v-icon>
</v-list-item-icon>
</v-list-item>
<v-list-item link @click="$store.dispatch('logout')">
<v-list-item-title class="error--text">Log out</v-list-item-title>
<v-list-item-icon>
@@ -60,10 +60,15 @@ export default {
props: ["selected", "commits", "disabledId"],
methods: {
appInitials(sourceApplication) {
console.log(sourceApplication)
switch (sourceApplication) {
case sourceApplication.startsWith("Rhino"):
case "Rhino6":
case "Rhino7":
return "RH"
case sourceApplication.startsWith("Revit"):
case "Revit2019":
case "Revit2020":
case "Revit2021":
case "Revit2022":
return "RVT"
case sourceApplication.startsWith("Autocad"):
return "ACAD"
@@ -1,8 +0,0 @@
query {
user {
avatar
id
name
email
}
}
+4 -4
View File
@@ -14,15 +14,15 @@ const routes = [
component: Home,
meta: {
requiresAuth: true,
title: "Speckle Revit Dashboard",
title: "Speckle AEC Tech Masterclass",
metaTags: [
{
name: "description",
content: "The speckle Revit Dashboard homepage"
content: "The Speckle AEC Tech Masterclass homepage"
},
{
property: "og:description",
content: "The speckle Revit Dashboard homepage"
content: "The Speckle AEC Tech Masterclass homepage"
}
]
}
@@ -33,7 +33,7 @@ const routes = [
component: WelcomeView,
meta: {
requiresNoAuth: true,
title: "Login | Speckle Revit Dashboard"
title: "Login | Speckle AEC Tech Masterclass"
}
},
{
+6 -3
View File
@@ -1,16 +1,19 @@
<template lang="html">
<v-container fill-height class="home flex-column justify-center align-center primary--text">
<v-container
fill-height
class="home flex-column justify-center align-center primary--text"
>
<v-img src="@/assets/logo.png" max-height="140px" max-width="140px"></v-img>
<h1>Welcome to the Speckle Diff Visualizer</h1>
<p>This app generates a heat map diff of changed geometry.</p>
<v-alert type="info" text color="primary">
Check out the <a href="https://speckle.systems/blog" target="_blank">blog post</a> for more info!
This app is part of the AEC Tech Masterclass
</v-alert>
<p class="grey--text">Please log in to access you Speckle data.</p>
</v-container>
</template>
<script>
export default {
name: 'WelcomeView'
name: "WelcomeView"
}
</script>