To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit 83a5c707 authored by Liam Hayes's avatar Liam Hayes
Browse files

docs

parent 1fe3d157
......@@ -53,8 +53,38 @@ poetry install # install all python packages
./manage runserver
```
Browse to `localhost:8000` to see the website.
Browse to `localhost:8000` to see the website.
It'll have no data (plots, turbines etc) yet many webpages assume there is data, so expect a few 500 internal service errors.
# import the relevant data
... TODO
\ No newline at end of file
The website data can be imported two ways:
## 1. From scratch
Import data with the `insert_data.py` script. This imports the following from "drive1":
- wind turbines and their power curves
- renewables ninja wind speed traces
- wind farm data, and ENTSO-E generation trace data
- some global wind atlas stats
- ERA5 wind speed traces are downloaded from the S3 bucket
Plot files, and experiment results, still need to be generated:
```
./scripts/experiments/run.py ninja # create ninja results
./scripts/experiments/run.py era5 0.71 1.17 # create era5 results
./scripts/experiments/run.py trace_plots # create generation trace plots
```
## 2. From backup
Get the database backup and the media directory from the `windatlas.xyz - data` repo.
Make sure all migrations are applied then:
```
./manage.py flush
./manage.py loaddata database-backup.json
```
Unzip `media.zip` to `media/` at the root of this repo.
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment