You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Petr Plachý 5e7ee7df4c Aktualizovat „README.md“ 4 years ago
public init 4 years ago
src vue 4 years ago
.gitignore init 4 years ago
README.md Aktualizovat „README.md“ 4 years ago
babel.config.js init 4 years ago
package-lock.json design uprava 4 years ago
package.json design uprava 4 years ago

README.md

letenka

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

instalace vue + projekt

  1. vytvoření složky
  2. npm install @vue/cli
  3. node_modules.bin\vue create název_projektu
  4. Zvolíme [Vue 2]
  5. cd název_projektu\
  6. npm run serve

nasazení na server vue + html,js,css

1.přihlášení na https://vpn.asgard.odbornaskola.cz/ (přihlašovací údaje)
2.ssh webmaster@ip_adresa
3.tajné heslo
4.git clone (pro včechny stránky) / v případě akutalice atačí (cd projec a následně git pull)
5.nano /etc/nginx/sites-enabled/webproject (vše zakomentujeme a vložíme tam cestu k našemu souboru)
6.vložíme $root /home/webmaster/stavebniny/dist; (bez vue je to bez toho dist)
7.uložíme a restartujeme (sudo symstemctl + restart nginx)