Подготовить сайт к запуску
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
ProgCode.Ru
|
||||
===========
|
||||
|
||||
Structure:
|
||||
|
||||
- `web/` — Next.js application.
|
||||
- `web/data/articles.json` — article data used by the site.
|
||||
- `web/public/assets/illustrations/` — SVG illustrations and article covers.
|
||||
- `web/public/assets/media/` — raster images used by the site.
|
||||
- `web/scripts/buildDatabase.mjs` — refreshes article data and generated assets from local source files.
|
||||
|
||||
Useful commands:
|
||||
|
||||
```bash
|
||||
cd ~/tmp/progcode/web
|
||||
npm install
|
||||
node scripts/buildDatabase.mjs
|
||||
npm run dev -- --port 3000
|
||||
npm run build
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user