Repository for NEAT+ server
Setup using docker-compose
- Create external-service docker network
docker network create external-services
- If server is setup for local environment than soft link
docker/docker-compose.dev.yml
else linkdocker/docker-compose.prod.yml
for production- For development/testing
ln -s docker/docker-compose.dev.yml docker-compose.yml
- For staging/production
ln -s docker/docker-compose.prod.yml docker-compose.yml
- For development/testing
- Create
.env
file from.example.env
and set appropriate and required env as explained in.example.env
- If either postgres or redis is required than run command
ln -s docker/external_services.yml external_services.yml
anddocker-compose -f external_services.yml up -d
Note: Only postgres or redis can be run by using commanddocker-compose -f external_services.yml up -d <NAME>
where<NAME>
is replaced by eitherdb
orredis
respectively.- If you have setup any other database instead of sqlite3 then server needs database to be created before starting server
- To create database run command
docker exec db psql -U postgres -c 'create database DATABASE_NAME;'.
. Replace DATABASE_NAME with actual database
- Run
docker-compose up -d
to start both server and celery worker ordocker-compose up -d server
to start server only. To do task in background celery should be running. - Execute
docker-compose exec server sh
and run command./manage.py createsuperuser
if super user is not created - Access server using url http://localhost:8000 and access admin using http://localhost:8000/admin
NEAT+ officially support English, French and Spanish. To translate NEAT+ visit Hosted Weblate
Project is licensed using GNU GPL v3