|
|
4 years ago | |
|---|---|---|
| config | 4 years ago | |
| docs | 4 years ago | |
| public | 4 years ago | |
| server | 4 years ago | |
| storage | 4 years ago | |
| ui | 4 years ago | |
| website | 4 years ago | |
| .gitignore | 4 years ago | |
| .netuno.json | 4 years ago | |
| README-pt_PT.md | 4 years ago | |
| README.md | 4 years ago | |
A ready to use solution for content management and multilingual websites using Netuno, ReactJS and Ant Design.
./netuno app github=netuno-org/cluar
Then load the config.json in the website, example:
cp apps/cluar/website/src/config/config-dev.json apps/cluar/website/src/config/config.json
Start the Netuno Server:
./netuno server app=cluar
May take while because is the first time and NPM Install will run to
uiandwebsitefolder inside the application root folder.
Is not required, but is recommended to rename the app folder (Netuno Root directory)/apps/cluar/ to your desired name, and do not forget the name parameter in the configurations:
config/_development.json
config/_production.json
Remember to start the Netuno Server with your new app name.
Create an app with Netuno named cluar by running (in the Netuno root directory)
./netuno app name=cluar
and selecting the desired configurations (database type, database name and app language).
Then clone this project to the newly created (Netuno Root directory)/apps/cluar/ directory.
Then install the NPM dependencies by running
npm install
in the cluar/website/ directory.
You'll need to copy the sample service config file by running
cp config/sample.json config/_development.json (be sure the name parameter)
cp website/src/config/config-dev.json website/src/config/config.json
and modifying to match your local environment configuration.
In the Netuno root directory run
./netuno server app=cluar
to start the backend server and then in the (cluar app directory)/website/ run
npm run start
to start the frontend server.