update setup
This commit is contained in:
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.
|
||||
```
|
||||
|
Reference in New Issue
Block a user