Explore the docs »
*Please ask for access to this resource with the team
To get a local copy up and running follow these simple steps.
A list of things that you need to install for run the project.
-
Yarn
brew install yarn
If you're a Windows user, download the installer.
Environment variables are defined in
Dotenv files. Dotenv is a zero-dependency
module that loads environment variables from a .env
file into process.env
.
For the build to run successfully, you will need to create a .env
that
contains the following data:
NEXT_PUBLIC_CF_SPACE_ID=
NEXT_PUBLIC_CF_ENV=
NEXT_PUBLIC_CF_DELIVERY_ACCESS_TOKEN=
For security reasons, the specific values are not included in this README and the files are not checked in to source control.
- Clone the repo
git clone https://github.com/RGADigital/Nerderla-Atomic-Design
- Install NPM packages
yarn install
- Start the server
yarn dev
- Storybooks To test all the components that are being used on the site, use storybooks.
$ yarn storybook
- Linting
$ yarn lint
- Development
$ yarn dev
- Production (with server)
$ yarn install
$ yarn build
$ yarn start
Open the cloned project in VS Code. Once you open it, you will see a popup with the text Folder contains a Dev Container configuration file. Reopen folder to develop in a container.
, click the Re-open in Container
button and a new Docker container will be created and dependencies will be automatically installed for you.
- ESLINT: ESLINT
- JS: ES6 compiled by Babel
- Component Dev: Storybook
- Linting & Formatting: ESLint, Prettier, Stylelint and EditorConfig.*
*It is strongly recommended that you integrate these tools into your editor or IDE.
This are our basics steps for start working in this project.
- Clone the Project
- Create your Feature branch from develop (
git checkout -b feature/___
) - Commit your Changes (
git commit -m 'Add some feature'
) - Push to the Branch (
git push origin feature/___
) - Open a Merge Request