https://github.com/varreltantio/aws-sensors
Automatic Weather Station (AWS) Sensors user interface using python flask
https://github.com/varreltantio/aws-sensors
flask html python
Last synced: 3 months ago
JSON representation
Automatic Weather Station (AWS) Sensors user interface using python flask
- Host: GitHub
- URL: https://github.com/varreltantio/aws-sensors
- Owner: varreltantio
- License: mit
- Created: 2023-05-30T06:17:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-02T16:02:01.000Z (almost 2 years ago)
- Last Synced: 2024-12-31T10:52:53.554Z (5 months ago)
- Topics: flask, html, python
- Language: HTML
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Prerequisites
- Python 3.7 or higher installed
- PostgreSQL installed and running## Setup
1. Clone the repository:
```
$ git clone https://github.com/varreltantio/aws-sensors.git
$ cd aws-sensors
```2. Create a virtual environment:
```
$ python -m venv env
```3. Activate a virtual environment:
```
$ env\scripts\activate (for windows)
$ source env/bin/activate (for linux)
```4. Install the required dependencies:
```
$ pip install -r requirements.txt
```5. Configure the PostgreSQL database:
- Create a new database in PostgreSQL.
- Import the database from `database/aws-sensors.sql`6. Run the application:
```
$ python main.py
```7. Open your browser and navigate to http://localhost:5000 to access the application.
## Directory Structure
- main.py: The main Flask application file.
- templates/: Directory containing HTML templates for the application views.
- static/: Directory for static files (CSS, JavaScript, etc.).
- requirements.txt: File listing the required Python packages.## Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.## License
This project is licensed under the [MIT License](https://github.com/varreltantio/aws-sensors/blob/main/LICENSE).