mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-01-26 03:14:08 +00:00
Fix up build commands
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -2,4 +2,4 @@
|
||||
.DS_Store
|
||||
.next
|
||||
node_modules
|
||||
public
|
||||
out
|
||||
|
||||
@@ -32,13 +32,13 @@
|
||||
npm start
|
||||
```
|
||||
|
||||
- Avaa selaimessasi: [`http://localhost:9001`](http://localhost:9001)
|
||||
- Avaa selaimessasi: [`http://localhost:3000`](http://localhost:3000)
|
||||
|
||||
|
||||
## Komennot
|
||||
* `npm install`
|
||||
* asentaa projektin riippuvuudet
|
||||
* `npm start`
|
||||
* kääntää lähdetiedostot ja palvelee sovellusta porttiin `9001`
|
||||
* kääntää lähdetiedostot ja palvelee sovellusta porttiin `3000`
|
||||
* `npm run build`
|
||||
* kääntää lähdetiedostot
|
||||
* kääntää lähdetiedostot -> `out/`
|
||||
|
||||
1
TODO.md
1
TODO.md
@@ -3,3 +3,4 @@
|
||||
* Prod ID `pk_live_xrnwdLNXbt20LMxpIDffJnnC`
|
||||
* API integration (test backend `https://lit-plateau-4689.herokuapp.com/`)
|
||||
* Hero video
|
||||
* Deployment
|
||||
|
||||
@@ -4,12 +4,11 @@
|
||||
"description": "Koodiklinikka homepage",
|
||||
"author": "Riku Rouvila <riku.rouvila@leonidasoy.fi>",
|
||||
"license": "MIT",
|
||||
"main": "gulpfile.js",
|
||||
"scripts": {
|
||||
"start": "rm -rf public && gulp",
|
||||
"build": "rm -rf public && gulp build",
|
||||
"dev": "SERVER=http://localhost:9000/ ENV=development npm start",
|
||||
"prod": "ENV=production npm start",
|
||||
"start": "next",
|
||||
"build": "next build && next export",
|
||||
"dev": "SERVER=http://localhost:9000/ ENV=development next",
|
||||
"prod": "ENV=production next build && next export",
|
||||
"lint": "eslint --ext .jsx --ext .js ."
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user