Demo project - cross-platform server + client chat application.
- copy vuc.example.json to vuc.json
- change
Server
url dotnet run
- create db:
dotnet ef database update
(creates db in ./data/vuc.db) OR just rename vuc.example.db - run it:
dotnet run
- Swagger API docs: /swagger/index.html
- Published app should be copied to your webserver folder, for example:
/var/www/your.server.domain/
- SQLite database file is stored in
/var/www/your.server.domain/data/vuc.db
- vhost / reverse proxy example:
<VirtualHost *:80>
ProxyPreserveHost On
ProxyPass / http://0.0.0.0:5000/
ProxyPassReverse / http://0.0.0.0:5000/
ServerAdmin webmaster@localhost
ServerName your.server.domain
DocumentRoot /var/www/your.server.domain
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>