Skip to content

Italian Open-Source is the first platform dedicated to Italian open-source world

License

Notifications You must be signed in to change notification settings

italia-opensource/italiaopensource.com

Repository files navigation

Italia Open-Source website

Requirements

pkg version used in
node v21.7.1 website/
yarn 1.22.22 website/
python >= 3.10 website/
terraform >= 1.7 infrastructure/
tflint >= 0.51.0 infrastructure/

Devmode

Develop website in local:

make setup-project setup-website

source .activate

make start

Develop infrastructure in local:

With doppler access:

doppler login

make doppler

echo 'export AWS_ACCESS_KEY_ID=...' >> .aws.env
echo 'export AWS_SECRET_ACCESS_KEY=...' >> .aws.env

source .env

make setup-infrastructure

make plan

Or set your env vars without doppler:

echo 'export WORKSPACE=...' > .env
echo 'export AWS_ACCOUNT_ID=...' >> .env
echo 'export AWS_DEFAULT_REGION=...' >> .env
echo 'export AWS_TERRAFORM_STATE_BUCKET=...' >> .env # (optional) If not set, use local backend by default

echo 'export AWS_ACCESS_KEY_ID=...' >> .env
echo 'export AWS_SECRET_ACCESS_KEY=...' >> .env

source .env

make setup-infrastructure

make plan