English | Slovensky
Blog posts are located in ./src/pages/blog
directory and are written in Markdown syntax.
In the command line (Terminal on Linux/Mac, Command Prompt on Windows) run:
git clone git@github.com:ParalelnaPolisKE/paralelnapoliskosice.sk.git
cd paralelnapoliskosice.sk
npm install
Copy .env.example
file into .env
(with the dot at the beginning in the name) and set correct constants inside (or leave them blank).
.env
Variable Name | Required | Default Value | Description |
---|---|---|---|
FACEBOOK_ACCESS_TOKEN |
Yes | null |
Access token for an facebook account |
In the project directory, just run:
npm start
npm run ... |
Description |
---|---|
npm start |
runs local development server at localhost:8000 |
npm run build |
builds production-ready site |
npm run format |
corrects coding standards |
npm run serve |
starts local server suitable for testing |
Please, keep the coding standards defined by EditorConfig and those handled with Prettier - npm run format
could be used to format the code automatically.
You can install couple of recommended extensions that may help you with the development.