Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CAmi307 committed Jun 6, 2023
1 parent ec92936 commit e53276d
Show file tree
Hide file tree
Showing 1,034 changed files with 2,066,059 additions and 0 deletions.
88 changes: 88 additions & 0 deletions build/.ebextensions/WebSocketUpgrade.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
###################################################################################################
#### Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
####
#### Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
#### except in compliance with the License. A copy of the License is located at
####
#### http://aws.amazon.com/apache2.0/
####
#### or in the "license" file accompanying this file. This file is distributed on an "AS IS"
#### BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#### License for the specific language governing permissions and limitations under the License.
###################################################################################################

###################################################################################################
#### To enable WebSockets on the Node.js platform, this configuration file
#### configures the Nginx proxy server.
#### It replaces the Nginx configuration file with a version that includes the
#### "Upgrade" and "Connection" headers: https://www.nginx.com/blog/websocket-nginx/
####
#### This Elastic Beanstalk configuration file replaces the entire Nginx configuration file.
#### As a result, you won't get our managed updates to the Nginx configuration file, if we make
#### updates in future platform updates. Be sure to test this configuration with new platform versions.
####
#### This configuration file works with single-instance and load-balanced environments.
####
#### If you're using a Classic Load Balancer, you need to enable TCP listeners. See:
#### http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.managing.elb.html
###################################################################################################

files:
/etc/nginx/conf.d/proxy.conf:
owner: root
group: root
mode: "000644"
content: |
# Elastic Beanstalk Managed

# Elastic Beanstalk managed configuration file
# Some configuration of nginx can be by placing files in /etc/nginx/conf.d
# using Configuration Files.
# http://docs.amazonwebservices.com/elasticbeanstalk/latest/dg/customize-containers.html

upstream nodejs {
server 127.0.0.1:8081;
keepalive 256;
}

server {
listen 8080;

if ($time_iso8601 ~ "^(\d{4})-(\d{2})-(\d{2})T(\d{2})") {
set $year $1;
set $month $2;
set $day $3;
set $hour $4;
}
access_log /var/log/nginx/healthd/application.log.$year-$month-$day-$hour healthd;
access_log /var/log/nginx/access.log main;

location / {
proxy_pass http://nodejs;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

gzip on;
gzip_comp_level 4;
gzip_types text/html text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;

}

/opt/elasticbeanstalk/hooks/configdeploy/post/99_kill_default_nginx.sh:
owner: root
group: root
mode: "000755"
content: |
#!/bin/bash -xe
rm -f /etc/nginx/conf.d/00_elastic_beanstalk_proxy.conf
service nginx stop
service nginx start

container_commands:
removeconfig:
command: "rm -f /tmp/deployment/config/#etc#nginx#conf.d#00_elastic_beanstalk_proxy.conf /etc/nginx/conf.d/00_elastic_beanstalk_proxy.conf"
72 changes: 72 additions & 0 deletions build/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Wyliodrin STUDIO Browser

Wyliodrin STUDIO is an educational platform for IoT and Embedded Linux systems.

- Connect to devices using TCP/IP or serial port
- Develop software and firmware for IoT in several programming languages
- Shell access to the device
- Import and export Wyliodrin STUDIO projects
- Visual dashboard for displaying sensor data
- Display the hardware schematics
- Manage packages for Python and Javascript
- Task manager for managing the device
- Network connection manager for the device (Ethernet and WiFi)
- Interactive electronics documentation (resistor color code)
- Example projects and firmware

## Supported devices:

- Raspberry Pi and Arduino
- Pico PI iMX8M
- NXP Rapid IoT
- UDOO Neo
- BeagleBone Black

## Supported languages

- Visual Programming (translates to Python)
- Javascript
- Python
- Shell Script (bash)

## Install

```
npm install --global --production wstudio-web
```

## Run

```
wstudio-web
```

## Contribute

We would love your help. Click [here](CONTRIBUTING.md) to find out how to contribute.

## Authors

Wyliodrin STUDIO is a product of [Wyliodrin](https://wyliodrin.studio) in partnership with the [Politehnica University of Bucharest](https://www.upb.ro)

- [Alexandru Radovici](https://www.github.com/alexandruradovici) - Maintainer
- [Ovidiu Stoica](https://www.github.com/oviska) - UX / UI
- [Ioana Culic](https://www.github.com/ioanaculic) - Development Manager
- [Marius Aluculesei](https://www.github.com/mariusAlc) - Projects, Application
- [Liviu-Nicolae Moraru](https://github.com/skyplane23) - Embedded Software
- [Cosmin Daniel Radu](https://github.com/cosmindanielradu19) - Embedded Software
- [Calin Dumitru](https://github.com/Dumitru98) - Simulators
- [Diana Ghindaoanu](https://github.com/diana-ghindaoanu) - Notebook, Dashboard, Documentation
- [Teona Severin](https://github.com/teonaseverin) - Web File Systems, Hooks, Statistics

Contributions

- [Ana Marinescu](https://www.github.com/paula-elena) - Pin Layout
- [Andrei Deatcu](https://www.github.com/dosarudaniel) - Resistor Color Code, Schematics
- [Alexandru Vochescu](https://www.github.com/valexandru) - Examples

Wyliodrin is a trademark of Wyliodrin SRL. All rights reserved.

## License

Apache 2.0
1 change: 1 addition & 0 deletions build/node_modules/.bin/mime

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e53276d

Please sign in to comment.