GithubHelp home page GithubHelp logo

nullnotfound / styleguide-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hugeinc/styleguide

0.0 1.0 0.0 31.93 MB

A tool to make creating and maintaining style guides easy.

Home Page: http://hugeinc.github.io/styleguide

License: MIT License

C 2.07% HTML 7.82% JavaScript 76.74% CSS 13.17% Shell 0.20%

styleguide-1's Introduction

Styleguide Build Status

A tool to make creating and maintaining styleguides easy.

#####v2.0.8

For downloads, how to get started and detailed documentation please refer to the Styleguide Website

Thanks to

Known issues

1 - You should allow unregistered applications to run in order to use the Start.app file. You can do so in Settings > Security & Privacy

2 - The compiled offline version have a smaller issue on Chrome. Chrome have a security policy of not allowing communication with iframes under file:// protocol, so any interaction that needs such communication will be removed (basically the sidebar menu). This is only for the offline compiled version.

3 - If you are a Mac user and after running the Start.app you have this error:

npm ERR! Please try running this command again as root/Administrator.

You have probably installed Node with sudo or root permission. You will need to fix permissions to the .npm folder with the following command:

sudo chown -R $(whoami) ~/.npm
sudo chown -R $(whoami) /usr/local/lib/node_modules

After that, try running the Start.app again.

4 - If you have XCode installed but have not agreed with the License you will get this error:

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

Open XCode and accept the license, then try running Start.app again.

5 - If you get a 404 - No data received error, you might have a port conflict, there are two ways you can change the port number (default to 9241):

  • Change the PORT variable inside styleguide/structure/_node-files/watch.js

  • Set an environment variable (PORT or STYLEGUIDE_PORT):

    If you are running the Styleguide manually, in the last step you might do:

    PORT=7000 node watch.js
    

    or

    STYLEGUIDE_PORT=7000 node watch.js
    

    The Start.app is self contained, and for security reasons it does not have access to external variables. If you want to change the port for the Start.app it is recommended to change the watch.js file. You can, if you want, add a variable to your .bashrc file and it will be available for the Start.app:

    touch ~/.bashrc
    echo 'export PORT=1234' >> ~/.bashrc
    

    or

    echo 'export STYLEGUIDE_PORT=1234' >> ~/.bashrc
    

styleguide-1's People

Contributors

caiovaccaro avatar d2s avatar davegomez avatar kevinch avatar kevinchevallier avatar patrikmakrai avatar transient-jonas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.