Better Seller UI
This project was bootstrapped with Create React App.
Setup
This setup requires that you have Docker and Docker Compose installed on your your system.
For MacOS and Windows users, you should only need to install Docker Desktop. Docker Desktop includes both Docker Engine and Docker Compose.
For Linux users, you have to separetely install Docker and Docker Compose. You can follow this guide.
Spin up containers with Docker Compose
Once you clone this repository to your local machine, run the docker-compose command below to spin up the containers:
docker-compose up
The application should now be running on:
http://localhost:3003/
How to update package
-
Create new component or update existing one.
-
Run npm run build
it will build files inside the dist
folder
-
Make sure to have a an account with npmjs and part of the Outgive organization
-
Login with with your cli into npm
Username: YOUR_USERNAME
Password: YOUR_PASSWORD
Email: (this IS public) YOUR_EMAIL
After successful login, it will show
Logged in as YOUR_USERNAME on https://registry.npmjs.org/.
-
Update Npm package version, package type can be patch
/ minor
/ major
. For more details about semantic versioning. Check this
npm version <update_type>
npm publish
After successful publish, it will show
npm notice
npm notice package: betterseller-ui@0.1.1
npm notice === Tarball Contents ===
npm notice 372B dist/index.js
npm notice 361B dist/components/table/Table.js
npm notice 1.5kB package.json
npm notice 1.0kB README.md
npm notice === Tarball Details ===
npm notice name: betterseller-ui
npm notice version: 0.1.1
npm notice package size: 1.6 kB
npm notice unpacked size: 3.3 kB
npm notice shasum: 7fe9cb1fdbcaf4e2df9c2ba58786e9cc081fdc64
npm notice integrity: sha512-LhNkxF0/yLak1[...]6eXZlC+iCa3Sw==
npm notice total files: 4
npm notice