Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,12 @@ | ||
# Run the server | ||
React DnD website is based on the [fixed-data-table](https://github.com/facebook/fixed-data-table) website and uses its code with a permission. | ||
|
||
The first time, get all the dependencies loaded via | ||
View it on the web: http://gaearon.github.io/react-dnd | ||
|
||
``` | ||
npm install | ||
``` | ||
|
||
Then, run the server via | ||
Run it locally: | ||
|
||
``` | ||
npm install | ||
npm start | ||
Open http://localhost:8080/ | ||
``` | ||
|
||
# Publish the website | ||
|
||
Just run the publish script, this will setup your environment if it's not already then it'll automatically build a static version of the site and publish it to gh-pages. | ||
|
||
``` | ||
npm run site-publish | ||
``` | ||
After it builds the static site (might take about half a minute), open http://localhost:8080/. |