π¨π»βπ» An Open Sourced Platform for Indonesia Election Real Count
π» Live site
- Make sure yarn is installed in your local machine.
- Clone this project and run
yarn
in the project's root directory.
git clone [email protected]:devpendent/website.git
cd website
yarn
In the project's root directory, you can run:
Runs the app in the development mode.
The app will be running at http://localhost:8000
!
Note: You'll also see a second link: http://localhost:8000/___graphql
. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.
Open the website
directory in your code editor of choice and edit src/pages/index.js
. Save your changes and the browser will update in real time!
Just an alias yarn develop
, for you who are used to type yarn start
instead. π
Builds the app for production to the public
folder.
Serves the built assets from the yarn:build
command above.
Launches the test runner in the interactive watch mode.
Run test once and return coverage report afterwards.
Run end-to-end tests using Cypress.
Validates that all tests are passed properly.
Manually triggers Prettier format & ESLint fix towards all js
& json
files.
By default it has to be run automatically on save in your IDE (for Visual Studio Code users, the configurations are already included in this project).
It also will be run each time before you commit (pre-commit hook). This way, we can prevent unformatted file to be committed to the repository.
Before running commands below, you have to install & setup CircleCI CLI in your local machine by following these two steps:
Validate the current CircleCI config
Process the current CircleCI config
Β© Copyright 2019 Devpendent Team, The MIT License (MIT).
For more information, see the LICENSE file in this directory.