fix for deployement

This commit is contained in:
2024-11-01 07:04:37 +01:00
parent 40230925f9
commit 1ce633cc9b
8 changed files with 134 additions and 103 deletions

View File

@@ -70,12 +70,14 @@ $ node --version # to check the Node.js version
$ npm install --global yarn
$ yarn --version # to check the yarn version
$ mkdir ~/apxtowns # if it does not exist
# Create a town name that does not exist for a nation and create forlder {tonwname}-{nation}
# Following example dev is a town and ants is a nation (you can create an existing town localy but you won't be able to join the ants network if this towns already exist)
$ mkdir ~/apxtowns/dev-ants
$ cd ~/apxtowns/dev-ants
$ sudo chown {apxuser}:root /etc/nginx/nginx.conf
$ git clone https://gitea.ndda.fr/apxtri/adminapi.git
$ yarn install
$ yarn dev
$ wget https://testwall-ants.ndda.fr/setup.sh
$ chmod +x setup.sh
$ ./setup.sh adminapi https://testwall-ants.ndda.fr https://gitea.ndda.fr/apxtri/adminapi
```
Open http://dev-ants in your browser after installation. you are ready to dev in adminapi or in your tribe by following the web interface.
@@ -87,8 +89,5 @@ If you want to contribute fixing bug, add new features in adminapi please push i
step