yavsc/INSTALL.md

65 lines
2 KiB
Markdown
Raw Normal View History

2026-06-06 22:09:19 +01:00
# Install
With internet access, Git, dotnet, Node.js, and GNU/Makefile, simply follow these instructions, in order to have the server part installed:
2026-06-06 22:09:19 +01:00
```bash
git clone https://github.com/pschneider/yavsc.git
cd yavsc
dotnet restore
npm install # restore front-end dependencies
npm run build:js # build the JS/CSS bundles into wwwroot
2026-06-06 22:09:19 +01:00
cd contrib
make install
```
2018-11-19 15:46:20 +01:00
The front-end bundles (under `src/Yavsc.Org/wwwroot/js/*.bundle.min.js`
and `src/Yavsc.Org/wwwroot/css/*.min.css`) are produced by `npm run
build:js` and committed to the repo, so the runtime .NET stack does
not need a Node toolchain at publish time. Re-run `npm run build:js`
after editing any of the entry files under `src/Yavsc.Org/wwwroot/js/`
or any of the `build/*.entry.js` bundle manifests.
2026-06-07 01:11:23 +01:00
About the mobile app,
```bash
cd src/PostIt/PostIt.Android
dotnet publish -c Release
```
and then, install the app, from the `src/PostIt/PostIt.Android/bin/Release/net10.0/PostIt.apk`
2018-11-19 15:46:20 +01:00
## Resources
2026-06-06 21:58:52 +01:00
System resources needed to install.
2018-11-19 15:46:20 +01:00
2026-06-06 21:58:52 +01:00
### Some TCP/IP ports to listen
The following provided services need all a port to listen :
* Org
* Blogs
* Api (to become obsolete, in favor of Performer + Client + Com + Moderation )
### A Software bloc name
In this doc, let's say, `Yavsc`
2018-11-19 15:46:20 +01:00
### A domain name
2022-02-06 03:34:50 +00:00
Wait ... `pschneider.fr`
2018-11-19 15:46:20 +01:00
You'll have to see with your provider, in order to power it, and make it point to your host ip, at least concerning the ports 80 & 443.
2025-02-23 21:34:24 +00:00
### A Postgresql db
2018-11-19 15:46:20 +01:00
2026-06-06 21:58:52 +01:00
The database must be created, and we need its connection string, allowed to modify the data dictionary, see the `.env` file
2018-11-19 15:46:20 +01:00
2026-06-06 21:58:52 +01:00
### An Smtp mail service
2018-11-19 15:46:20 +01:00
2026-06-06 21:58:52 +01:00
You'll need to send e-mail ... using smtp and the provider of your choice, see the `.env` file.
2018-11-19 15:46:20 +01:00
2018-12-11 09:18:38 +00:00
### Google
I'll have to make with it, a least a moment, it needs a *service account*, and some setup,
in the `appsettings.*.json` file, and
the execution environment variable GOOGLE_APPLICATION_CREDENTIALS to a value pointing the json description file for the Google Service account.