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 943c1bc2 authored by Liam Hayes's avatar Liam Hayes
Browse files

small changes so it works on ec2

parent 31d74add
......@@ -38,7 +38,7 @@ class APIForm(Form):
turbine = forms.ModelChoiceField(
label='Wind turbine',
queryset=PowerCurve.objects.all().order_by('name'),
initial=PowerCurve.objects.get(name='Vestas V126-3450'),
#initial=PowerCurve.objects.get(name='Vestas V126-3450'),
required=False,
)
......
......@@ -13,14 +13,16 @@ On local machine:
On remote machine:
- Install pyenv, poetry and postgres.
- sudo apt install libpq-dev
- git clone the repo
- cd windatlas
- poetry install
- add 'export DJANGO_LOCATION="ec2"' to .bashrc
## Database setup
check that postgres and libpq-dev are be installed, and psycopg2 is in the virtual environment
On remote machine:
- sudo -u postgres psql
- CREATE DATABASE windatlas_db;
......
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