mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-02-05 22:49:05 +00:00
translate installation instructions
This commit is contained in:
29
README.md
29
README.md
@@ -16,32 +16,21 @@ Tai koko Koodiklinikkaan yleisesti.
|
||||
|
||||
-----------------------------
|
||||
|
||||
## Getting things up and running
|
||||
- Install [Node.js](http://nodejs.org)
|
||||
## Projektin asennus
|
||||
- Asenna [Node.js](http://nodejs.org)
|
||||
|
||||
```
|
||||
git clone git@github.com:leonidas/gulp-project-template.git <your project name>
|
||||
cd <your project name>
|
||||
git clone git@github.com:koodiklinikka/koodiklinikka.fi.git
|
||||
cd koodiklinikka.fi
|
||||
npm install
|
||||
npm start
|
||||
open http://localhost:9001 in your browser
|
||||
avaa http://localhost:9001 selaimessasi
|
||||
```
|
||||
|
||||
## CLI Commands
|
||||
## Komennot
|
||||
* npm install
|
||||
* Installs server-side dependencies from npm
|
||||
* asentaa projektin riippuvuudet
|
||||
* npm start
|
||||
* Compiles your files, starts watching files for changes, serves static files to port 9001
|
||||
* kääntää lähdetiedostot ja palvelee sovellusta porttiin 9001
|
||||
* npm run build
|
||||
* Builds everything
|
||||
|
||||
# Production build
|
||||
Minification, uglification and other tasks you're expected to run before deploying your product can be made by running the build command with env variable NODE_ENV set to "production"
|
||||
|
||||
NODE_ENV=production npm run build
|
||||
|
||||
## Development guidelines
|
||||
#### Directory structure
|
||||
|
||||
**public** - directory should be dedicated only to compiled/copied files from **src** - directory.
|
||||
It should be possible to delete directory completely and after **npm start** or **npm run build** everything should be as they were before the deletion.
|
||||
* kääntää lähdetiedostot
|
||||
|
||||
Reference in New Issue
Block a user