Skip to content

Commit

Permalink
fix: removed handlebars from repo and added instructions in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Regikon committed Oct 24, 2024
1 parent 21d2123 commit c0a9f5d
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 31 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.vscode/
node_modules/
*.precompiled.js
*.precompiled.js
handlebars.runtime.js
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,27 @@

## О продукте

Данный раздел будет заполнен по готовности четких представлений о продукте
Данный раздел будет заполнен по готовности четких представлений о продукте


## Установка и запуск

### Зависимости
Для запуска необходимо установить зависимости:
- Node v20.16.0
После установки Node нужно доставить дополнительные зависимости стандартной
командой
```bash
npm install
```
- [Handlebars runtime](https://handlebarsjs.com/installation/#downloading-handlebars)
Требуется поместить runtime в директорию ./src/public/js под именем
handlebars.runtime.js

### Запуск
Запуск дев-сервера осуществляется при помощи команды
```bash
npm run dev-server
```
При этом модифицировать ip-адрес и порт, на котором будет слушать сервер,
можно внутри файла ./src/server/server.mjs
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default [
'**/node_modules/',
'**/.git/',
'src/public/js/templates.precompiled.js',
'src/public/js/handlebars.runtime.min-v4.7.8.js',
'src/public/js/handlebars.runtime.js',
],
},
];
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<body>
<div id="app" class="app app_theme-dark"></div>
<script src="src/public/js/handlebars.runtime.min-v4.7.8.js"></script>
<script src="src/public/js/handlebars.runtime.js"></script>
<script src="src/public/js/templates.precompiled.js"></script>
<script type="module" src="src/index.js"></script>
</body>
Expand Down
27 changes: 0 additions & 27 deletions src/public/js/handlebars.runtime.min-v4.7.8.js

This file was deleted.

0 comments on commit c0a9f5d

Please sign in to comment.