Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Source to uTox.io

License

NotificationsYou must be signed in to change notification settings

uTox/website

Repository files navigation

LicenseBuild Status#utox on freenode

Getting Started

Steps:

  1. Nothing.

The website works as is, no build step required. However, if you want to make changes to the CSS code you will need to follow the setup instructions below.

Build Requirements

Check that you have node version 8 LTS or higher installed

$ node -v  v8.x.x

If not, then go tohttps://nodejs.org to download and install the latest LTS or Stable version of nodejs

Next, Check that you have the latest stable version of yarn installed

$ yarn -v  x.x.x

You can check which version is the latest stable and download it if you don't have it here:https://yarnpkg.com/en/docs/install

Once nodejs and yarn are installed, runyarn inside of the utox/website folder. You should get an output that looks somewhat like this

$ yarn  yarn install v1.3.2  [1/5] Validating package.json...  [2/5] Resolving packages...  [3/5] Fetching packages...  [4/5] Linking dependencies...  [5/5] Building fresh packages...  Donein 49.55s.

You are now ready to run the build scripts

Build CSS

Before building the CSS code, run the css linter & format checker (via stylelint.see .stylelint.yml for more details) using the following command

$ yarntest  yarn run v1.3.2  $ stylelint"**/!(*.min).css"  Donein 7.00s.

Assuming stylelint doesn't return any errors, you can now run the build command

$ yarn run build  yarn run v1.3.2  $ postcss -c postcss.config.js"public/assets/styles/!(_*|*.min).css" --ext .min.css --dir"public/asse  ts/styles/"  √ Finished public/assets/styles/home.css (2.53 s)  √ Finished public/assets/styles/common.css (3.25 s)  Donein 9.09s.

This should produce a processed.min.css version of every css file inpublic/assets/styles/ that doesn't begin with_ or end with.min.css.

Local Development Server

To preview/test out the site on your local development environment run

$ yarn run serve  yarn run v1.3.2  $ browser-sync start --config bs-config.js  [BrowserSync] Access URLs:   --------------------------------------         Local: http://localhost:3000      External: http://192.168.1.1:3000   --------------------------------------            UI: http://localhost:3001   UI External: http://192.168.1.1:3001   --------------------------------------  [BrowserSync] Serving files from: ./public/

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp