A Tethys App for no code/low code web application development app
Project description
TethysDash
This app was created using an experimental Tethys + React app scaffold. It uses React for the frontend of the app and Tethys as the backend. For more detailed information, check the official TethysDash documentation
Quick Installation
- If creating a new python environment, create and activate it
python3 -m venv test_env
source test_env/bin/activate
- Install TethysDash
pip install tethysdash
- Setup Tethys and TethysDash Databases and Services
tethysdash setup
- Start Tethys Portal
tethysdash start
Development Installation
You need to install both the Tethys dependencies and the node dependencies:
- If creating a new python environment, create and activate it
python3 -m venv test_env
source test_env/bin/activate
- Clone the Repo
git clone https://github.com/tethysplatform/tethysapp-tethys_dash
- Install the app in Tethys Platform
cd tethysapp-tethys_dash/
pip install -e .
- Setup Tethys and TethysDash Databases and Services
tethysdash setup
- Start Tethys Portal
tethysdash start
- Install Plugin Examples (not necessary but recommended)
cd ..
git clone https://github.com/FIRO-Tethys/tethysdash_examples
cd tethysdash_examples
pip install -e .
Frontend Development
The webpack dev server is configured to proxy the Tethys development server (see webpack.config.js). The app endpoint will be handled by the webpack development server and all other endpoints will be handled by the Tethys (Django) development server. As such, you will need to start both in separate terminals.
- Install the node and dependencies
cd tethysapp-tethys_dash/
npm install --dev
- Start Tethys development server
tethys manage start
- Start webpack development server (in separate terminal)
npm start
Frontend Build
Webpack is configured to bundle and build the React app into the tethysapp/<app_package>/public/frontend directory. Before building a Python distribution for release, you should build using this command:
npm run build
Frontend Test
Use the following commands to lint and test the React portion of the app.
npm run lint
npm run test
The linting capability is powered by eslint and a number of plugins for React. The testing capabilities include jest, jsdom, testing-framework, user-event, and a few other JavaScript testing utilties to make it easy to test the frontend of the React-Tethys app.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tethysdash-0.18.1.tar.gz.
File metadata
- Download URL: tethysdash-0.18.1.tar.gz
- Upload date:
- Size: 44.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f49c52f6eec975fab958c88308536268779bba611956da4f7a688d842349a744
|
|
| MD5 |
4e0af358d910b3fa55a1cd0cbc7e08d3
|
|
| BLAKE2b-256 |
c1a441b66e095264e1f86172d524c42fe681fb2f71459ecb703d903e727fd73f
|
File details
Details for the file tethysdash-0.18.1-py3-none-any.whl.
File metadata
- Download URL: tethysdash-0.18.1-py3-none-any.whl
- Upload date:
- Size: 43.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c9831e864ca76c206c86d3f71dfbff0942746082c8832b10fea7d1cc1d07626
|
|
| MD5 |
08aac292d37611fa3e69f43c6cd17127
|
|
| BLAKE2b-256 |
1d439765aeb819d1a9274a4d07a32b0a1b503106bbca1a36c87651309e30fd40
|