diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-10-31 15:06:06 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-10-31 15:06:06 +0100 |
| commit | cb0578ef618daf15f7895f165723a73f77e75452 (patch) | |
| tree | e4e589f6d26a81fd36242588fa7effe061f3112f | |
| parent | 815b190d28cc42e6f3d44d04e1f1ebaea9208cf6 (diff) | |
docs: add a readme
| -rw-r--r-- | README.md | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..2876403 --- /dev/null +++ b/README.md @@ -0,0 +1,37 @@ +# demo.armandphilippot.com + +A website to present some small apps using Git submodules. + +## Install + +First, you need to `git clone` this repo or to use it as Git submodule. + +Then, you need to build each React app. For each subdirectory inside `react-small-apps`, you need to execute the following commands: + +1. `cd projects/react-small-apps/{project-name}/` +2. `cp .env.example .env` +3. Set the `PUBLIC_URL` in `.env` to `/projects/react-small-apps/{project-name}/build/` +4. `yarn install` +5. `yarn build` + +## Development + +At the root of this repo: + +1. `cp .env.example .env` +2. Edit the `.env` file to suits your needs. +3. `yarn install` +4. `yarn run serve` + +## Production + +At the root of this repo: + +1. `cp .env.example .env` +2. Edit the `.env` file to suits your needs. +3. `yarn install` +4. `yarn run build` + +## License + +This project is open-source and available under [MIT License](./LICENSE). |
