- Notifications
You must be signed in to change notification settings - Fork22
Searchable repository of React-components
License
vaffel/react-components
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Searchable repository of React-components
In order to build this project you need to havenode andredis installed in your machine. Once you do, clone the repository and install it, using the following commands:
git clone git@github.com:vaffel/react-components.gitcd react-componentsnpm installnpm run fetch:database
To run the project in development mode, use:
gulp watch
This project relies on a database of npm components. Before being able to run the project for the first time, you need to fetch the components. The command to do so can also be used any time you wish to update your database.
npm run fetch:database
The current version of the project is not yet fully compatible with node v4.0.0. One possible work around is to use Node Version Manager (NVM), and install node v0.12.7. This can be accomplished as follows:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.28.0/install.sh | bash nvm install v0nvm use v0
If while doing thenpm install
you run into the following error:
ld: library not found for -lgcc_s.10.5make: *** [Release/hiredis.node] Error 1
You probably have a problem with your version of Xcode. The easiest way to solve it, is to update your Xcode and open it.
If you use macports to install your dependencies, then the issue might be that you are not using thedefault gcc compiler. To verify that, do:
gcc --version
If what you get is not the default clang compiler from Xcode, edit your ~/.bash_profile as follows:
vim ~/.bash_profile
And comment out the line:
export PATH=/opt/local/bin:/opt/local/sbin:$PATH