zeus
3 years ago
1 changed files with 114 additions and 1 deletions
@ -1,2 +1,115 @@ |
|||||
# microservice-vue |
## Swarmlab is a collection of services that aims to |
||||
|
|
||||
|
> - provide teachers and professors with online remote tools to do their lessons |
||||
|
> |
||||
|
> - give students the opportunity to study real life examples in their chosen area of expertise |
||||
|
> |
||||
|
> - allow developers to fully test and debug their applications and provide POC’s |
||||
|
> |
||||
|
> - or you simply want to use a Application (in a microservices-based architecture) |
||||
|
> |
||||
|
> Swarmlab provides you with all the required tools, tools to teach work or try out demos in a completely virtual environment. |
||||
|
> |
||||
|
> More info: http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/index.html |
||||
|
|
||||
|
|
||||
|
|
||||
|
![alt text](images/swarmlab-network.png "") |
||||
|
|
||||
|
## LabInstance vue |
||||
|
|
||||
|
|
||||
|
## Quickstart |
||||
|
|
||||
|
This is a quickstart guide of howto use this *LabInstance vue* |
||||
|
|
||||
|
> |
||||
|
> Click on OpenTerminal |
||||
|
> |
||||
|
> su node |
||||
|
> |
||||
|
> vue create projectname |
||||
|
> |
||||
|
> |
||||
|
|
||||
|
|
||||
|
### Default Configuration |
||||
|
|
||||
|
- Working Directory |
||||
|
|
||||
|
> /home/node/project |
||||
|
|
||||
|
- Default users |
||||
|
|
||||
|
> node |
||||
|
|
||||
|
- Default password |
||||
|
|
||||
|
> docker |
||||
|
|
||||
|
*AND* |
||||
|
|
||||
|
> docker |
||||
|
|
||||
|
- Default password |
||||
|
|
||||
|
> docker |
||||
|
|
||||
|
- Default password4root |
||||
|
|
||||
|
> pass |
||||
|
|
||||
|
|
||||
|
### More info |
||||
|
|
||||
|
https://cli.vuejs.org/guide/ |
||||
|
|
||||
|
https://vuejs.org/ |
||||
|
|
||||
|
|
||||
|
|
||||
|
### RUN INSTANCE |
||||
|
|
||||
|
Swarmlab services can be run in different ways. |
||||
|
|
||||
|
- You can run them **through the swarmlab hybrid environment** (http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/hybrid/start-microservices.html) |
||||
|
- or use them individually at will on the **command line of your system** |
||||
|
|
||||
|
|
||||
|
|
||||
|
#### CLI |
||||
|
|
||||
|
> git clone ... |
||||
|
> |
||||
|
> cd [DIRECTORY] |
||||
|
> |
||||
|
|
||||
|
#### help |
||||
|
> |
||||
|
> make help |
||||
|
> |
||||
|
|
||||
|
#### create service |
||||
|
> |
||||
|
> make create |
||||
|
> |
||||
|
|
||||
|
#### start service |
||||
|
> |
||||
|
> make start |
||||
|
> |
||||
|
|
||||
|
#### stop service |
||||
|
> |
||||
|
> make stop |
||||
|
> |
||||
|
|
||||
|
#### list service |
||||
|
> |
||||
|
> make list |
||||
|
> |
||||
|
|
||||
|
#### clean service |
||||
|
> |
||||
|
> make clean |
||||
|
> |
||||
|
Loading…
Reference in new issue