update setup
This commit is contained in:
parent
243352b20f
commit
e9dbb374a0
13
README.md
13
README.md
@ -38,7 +38,12 @@ adminapi is a special tribe that rules all tribes to provide a SAAS solution eas
|
||||
Install an ubuntu desktop machine https://ubuntu.com/desktop
|
||||
```
|
||||
$ sudo apt update && sudo apt upgrade
|
||||
$ sudo apt install git vim libcap2-bin p7zip-full p7zip-rar curl nginx cmdtest
|
||||
$ sudo apt install git vim libcap2-bin p7zip-full p7zip-rar curl gnupg nginx
|
||||
$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
|
||||
$ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
|
||||
$ sudo apt update && sudo apt install yarn
|
||||
# check version
|
||||
$ yarn --version
|
||||
```
|
||||
In the next step replace {apxuser} by the login user you used to install ubuntu
|
||||
|
||||
@ -51,7 +56,7 @@ $ sudo usermod -aG sudo {apxuser}
|
||||
$ su {apxuser}
|
||||
```
|
||||
|
||||
In anycase continue with:
|
||||
With a sudo user:
|
||||
```
|
||||
$ sudo visudo
|
||||
# Add the following line to the file:
|
||||
@ -64,7 +69,7 @@ $ nvm --version
|
||||
# Then recheck the nvm version
|
||||
$ nvm --version
|
||||
$ mkdir ~/apxtowns # if it does not exist
|
||||
# Create a town name that does not exist for a nation and create forlder {tonwname}-{nation}
|
||||
# Create a town name that does not exist for a nation and create folder {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
|
||||
@ -86,7 +91,7 @@ Until the web interface allow it here are usefull process to:
|
||||
```
|
||||
run . setup.sh tribename newtribe
|
||||
```
|
||||
This will create a new tribe that you can manage in http://admin.tribename.dev.ants don't forget /etc/hosts update (a standard .giitignore is generate ready if you want to version your code in apxtri)
|
||||
This will create a new tribe that you can manage in http://admin.tribename.dev.ants (a standard .giitignore is generate ready if you want to version your code in apxtri)
|
||||
|
||||
* To add a new tribe from an existing tribe host in testwall-ants.ndda.fr, we want set a dev env from git repo named smatchit with data that come from testwall-ants.ndda.fr the last night. To get data you must have the password to access backup.
|
||||
```
|
||||
|
29
package.json
29
package.json
@ -54,29 +54,28 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"apidoc": "^0.54.0",
|
||||
"apidoc": "^1.2.0",
|
||||
"async": "^3.2.0",
|
||||
"axios": "^1.6.2",
|
||||
"axios": "^1.7.7",
|
||||
"bcrypt": "^5.0.0",
|
||||
"cors": "^2.8.4",
|
||||
"dayjs": "^1.11.7",
|
||||
"dayjs": "^1.11.13",
|
||||
"dns-sync": "^0.2.1",
|
||||
"express": "^4.16.3",
|
||||
"formidable": "^2.1.1",
|
||||
"fs-extra": "^11.1.0",
|
||||
"glob": "^7.1.2",
|
||||
"jszip": "^3.7.1",
|
||||
"jwt-simple": "^0.5.1",
|
||||
"mustache": "^2.3.0",
|
||||
"express": "^4.21.1",
|
||||
"formidable": "^3.5.2",
|
||||
"fs-extra": "^11.2.0",
|
||||
"glob": "^11.0.0",
|
||||
"jszip": "^3.10.1",
|
||||
"jwt-simple": "^0.5.6",
|
||||
"mustache": "^4.2.0",
|
||||
"openpgp": "^5.10.1",
|
||||
"path": "^0.12.7",
|
||||
"pm2": "^2.10.4",
|
||||
"pm2": "^5.4.2",
|
||||
"readline-sync": "^1.4.10",
|
||||
"sharp": "^0.33.4",
|
||||
"smtp-client": "^0.4.0",
|
||||
"nodemailer": "^6.9.7",
|
||||
"stripe": "^14.4.0",
|
||||
"uuid": "^9.0.0",
|
||||
"yarn": "^1.22.21"
|
||||
"nodemailer": "^6.9.16",
|
||||
"stripe": "^17.3.1",
|
||||
"uuid": "^11.0.2"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user