by @akellbl4 * create infrastructure for site * wip * fix docker build and add readme * add docker-compose as a build and a run method * rename compose file yaml -> yml * add `src` as volume for watching changes * update configs * update README * add padding at the end of the pages * move demo settings in config * fetch latest release from github * update docs navigation - add sections - redirect from root of the section to first doc - nice styles for navigation - add brand colors * cache github data from first load * add redirects and fix link to docs * fix docs nav styles * add installation page placeholder * fix demo * add 404 * add dark theme, add theme switcher, remove unused files * fix dark theme on main page * fix dark theme background * fix node version * change installation docs * add note block * minor fixes * add code highlighting styles * fixes * fixes * mobile navigation, fix code highlighting colors * fix dev server * fix fetching error * fix path to edit Co-authored-by: Pavel Mineev <pavel@mineev.me> Co-authored-by: Dmitry Verkhoturov <paskal.07@gmail.com>
45 lines
675 B
Markdown
45 lines
675 B
Markdown
# Reamark42 Website
|
|
|
|
## Work on Your Local Environment
|
|
|
|
Requirements:
|
|
|
|
- [Node.js v14](https://nodejs.org/en/) or higher - Install from package or with Homebrew
|
|
- Yarn 1.22 or higher - once you have Node.js run `npm i -g yarn`
|
|
|
|
### Development
|
|
|
|
Install dependencies and start development server:
|
|
|
|
```
|
|
$ yarn
|
|
$ yarn dev
|
|
```
|
|
|
|
### Build
|
|
|
|
```
|
|
$ yarn build
|
|
```
|
|
|
|
## Work with Docker Compose
|
|
|
|
### Build
|
|
|
|
Install dependencies and run development server inside Docker:
|
|
|
|
```
|
|
$ docker-compose build
|
|
$ docker-compose up server
|
|
```
|
|
|
|
Then serve files from `./build` with your favorite server
|
|
|
|
### Development
|
|
|
|
```
|
|
$ docker-compose up --build server
|
|
```
|
|
|
|
Then head to http://localhost:8080
|