mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
69 lines
2.8 KiB
Markdown
69 lines
2.8 KiB
Markdown
<p align="center">
|
|
<a href="https://human-connection.org"><img align="center" src="static/img/sign-up/humanconnection.png" height="200" alt="Human Connection" /></a>
|
|
</p>
|
|
|
|
# NITRO Web
|
|
[](https://travis-ci.com/Human-Connection/Nitro-Web)
|
|
[](https://github.com/Human-Connection/Nitro-Web/blob/master/LICENSE.md)
|
|
[](https://app.fossa.io/projects/git%2Bgithub.com%2FHuman-Connection%2FNitro-Web?ref=badge_shield)
|
|
[](https://discord.gg/6ub73U3)
|
|
|
|

|
|
|
|
## Build Setup
|
|
|
|
|
|
|
|
### Install
|
|
``` bash
|
|
# install all dependencies
|
|
$ yarn install
|
|
```
|
|
|
|
Copy:
|
|
```
|
|
cp .env.template .env
|
|
cp cypress.env.template.json cypress.env.json
|
|
```
|
|
Configure the files according to your needs and your local setup.
|
|
|
|
### Development
|
|
``` bash
|
|
# serve with hot reload at localhost:3000
|
|
$ yarn dev
|
|
```
|
|
|
|
### Build for production
|
|
``` bash
|
|
# build for production and launch server
|
|
$ yarn build
|
|
$ yarn start
|
|
```
|
|
|
|
## Styleguide
|
|
|
|
All reusable Components (for example avatar) should be done inside the [Nitro-Styleguide](https://github.com/Human-Connection/Nitro-Styleguide) repository.
|
|
|
|

|
|
|
|
More information can be found here: https://github.com/Human-Connection/Nitro-Styleguide
|
|
|
|
|
|
If you need to change something in the styleguide and want to see the effects on the frontend immediately, then we have you covered.
|
|
You need to clone the styleguide to the parent directory `../Nitro-Styleguide` and run `yarn && yarn run dev`. After that you run `yarn run dev:styleguide` instead of `yarn run dev` and you will see your changes reflected inside the fronten!
|
|
|
|
## Internationalization (i18n)
|
|
|
|
You can help translating the interface by joining us on [lokalise.co](https://lokalise.co/public/556252725c18dd752dd546.13222042/).
|
|
|
|
Thanks lokalise.co that we can use your premium account!
|
|
|
|
<a href="(https://lokalise.co/public/556252725c18dd752dd546.13222042/)."><img src="lokalise.png" alt="localise.co" height="32px" /></a>
|
|
|
|
## Attributions
|
|
|
|
<div>Locale Icons made by <a href="http://www.freepik.com/" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></div>
|
|
|
|
## License
|
|
[](https://app.fossa.io/projects/git%2Bgithub.com%2FHuman-Connection%2FNitro-Web?ref=badge_large)
|