-
-
Notifications
You must be signed in to change notification settings - Fork 152
Installation for Windows users
Riccardo Graziosi edited this page Jan 9, 2020
·
2 revisions
Alert: as of today, astuto is not well supported under Windows. The installation process could fail.
Follow this steps alongside the installation guide of the README.
-
Before doing any other thing, type the following command in the terminal:
git config --global core.autocrlf true
This command configures Git to properly handle line endings (in Windows they cause problems). -
Follow steps 1-3 of the installation guide of the README.
-
Replace the content of
docker-compose.yml
with the following:
version: '3'
services:
db:
image: postgres
environment:
- POSTGRES_USER
- POSTGRES_PASSWORD
volumes:
- postgres-data:/var/lib/postgresql/data
web:
build:
context: .
dockerfile: ./docker/app/Dockerfile
environment:
- UPDATE=0
- ENVIRONMENT
- SECRET_KEY_BASE
- POSTGRES_USER
- POSTGRES_PASSWORD
- EMAIL_CONFIRMATION
- APP_NAME
- SHOW_LOGO
- POSTS_PER_PAGE
volumes:
- .:/astuto
ports:
- "3000:3000"
depends_on:
- db
volumes:
postgres-data:
- Follow steps 4-5 of the installation guide of the README.
If you were able to install Astuto on Windows contact us by email or Discord. If you weren't, it was probably due to the standard_init_linux.go:211 error. If you encountered another problem contact us or open an issue.