1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00
Teknik/README.md

92 lines
3.9 KiB
Markdown
Raw Normal View History

2015-07-17 06:19:40 +02:00
# Teknik Web Services
2018-06-18 03:28:08 +02:00
[![Build Status](https://uncled1023.visualstudio.com/_apis/public/build/definitions/47815734-d274-4bfd-8945-d58f2261b421/4/badge)](https://uncled1023.visualstudio.com/Teknik/_build/index?definitionId=4)
2018-06-17 05:51:31 +02:00
2015-07-17 06:19:40 +02:00
Teknik is a suite of services with attractive and functional interfaces.
## Features
2018-06-17 04:35:31 +02:00
* File Upload w/ client side encryption
* Album Support
2015-07-17 06:19:40 +02:00
* Pastebin
* URL Shortening
2015-07-17 06:19:40 +02:00
* Blogs
2018-06-17 04:35:31 +02:00
* Git Integration (Gitea)
2015-07-17 06:19:40 +02:00
* Podcasts
* Easy to use API
* Flexible installation and configuration
2017-04-02 10:23:51 +02:00
* And much more...
2015-07-17 06:19:40 +02:00
2016-02-28 23:46:03 +01:00
You can see a live demo [here](https://www.teknik.io).
2015-07-17 06:19:40 +02:00
## Requirements
In order to run Teknik on your server, you'll need:
2022-05-23 06:26:07 +02:00
* IIS 10+, Nginx, or Apache
* [.NET 6 Runtime](https://www.microsoft.com/net/download/) (Or SDK if building the src)
2018-06-17 04:35:31 +02:00
* A SQL Server (MS SQL Server, MySQL, SQLite)
* [hMailServer](https://www.hmailserver.com/download) (If running email service)
* [Gitea](https://github.com/go-gitea/gitea) (If you want to have Git integration)
2016-02-28 23:46:03 +01:00
* Web Mail Client (If you would like to have webmail)
2015-07-17 06:19:40 +02:00
## Installation
2022-05-23 06:26:07 +02:00
* Set up Asp.Net Core to work with your system of choice - [Instructions](https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/)
* Download the latest release of Teknik for your system - [Releases](https://git.teknik.io/Teknikode/Teknik/releases)
2018-06-17 04:35:31 +02:00
* Copy the files to your local web root directory.
* Create a `ConnectionStrings.config` file in the `App_Data` directory and fill it with the following template and put in your SQL server connection details.
2016-02-28 23:46:03 +01:00
```nohighlight
2016-02-28 23:46:03 +01:00
<connectionStrings>
<add name="TeknikEntities"
providerName="System.Data.SqlClient"
2018-06-17 04:35:31 +02:00
connectionString="<Sql Server Connection String>" />
2016-02-28 23:46:03 +01:00
</connectionStrings>
```
* After the first run, a `Config.json` file will be created in the `App_Data` directory. This will need to be edited with your configuration options.
2015-07-17 06:19:40 +02:00
That's it, installation complete! If you're having problems, let us know through the [Contact](https://contact.teknik.io/) page.
2015-07-17 06:19:40 +02:00
2018-06-17 04:35:31 +02:00
## Building
### Linux
* Clone the Teknik repository to a directory of your choosing.
```nohighlight
cd ~
mkdir src
cd ./src
git clone https://git.teknik.io/Teknikode/Teknik
```
* Set up .Net Core SDK for you system of choice - [Instructions](https://www.microsoft.com/net/download/all)
2018-06-17 04:35:31 +02:00
* Install Node.js (Includes npm).
* Run the npm build script `npm run build`.
* This will install, move, bundle, and minify all the client side assets (JavaScript, CSS, Fonts, and Images).
2018-06-18 21:38:50 +02:00
* To see exactly what happens or to modify the build. look at the `gulpfile.js` file.
2018-06-17 04:35:31 +02:00
* Run dotnet publish from the root directory of the repo to build and package the app into the release publish directory (for example: ./Teknik/bin/Release/netcoreapp2.1/publish).
```
dotnet publish --configuration Release
```
* Copy the files in the publish directory to where you want to run the website from.
* Test the website:
* In the directory conatining the published files, run `dotnet Teknik.dll`
* In a browser, open http://localhost:5000/?sub=www
2015-07-17 06:19:40 +02:00
## Authors and contributors
* [Chris Woodward](https://www.teknik.io) (Creator, Developer)
2015-07-17 06:19:40 +02:00
* [dronedaddy](https://www.behance.net/dronedaddy) (Logo Designer)
## License
[BSD 3-Clause license](http://opensource.org/licenses/BSD-3-Clause)
## Development
You can view Teknik's [Development Branch](https://dev.teknik.io/) to see the current new features (It may not work, as it is a development branch).
2015-07-17 06:19:40 +02:00
## Contributing
If you are a developer, we need your help. Teknik is a young project and we have lots of stuff to do. Some developers are contributing with new features, others with bug fixes. Any help you can give would be greatly appreciated!
2015-07-17 06:19:40 +02:00
## Further information
If you want to know more about the features of Teknik, check the [Help](https://help.teknik.io/) page. Also, if you're having problems with Teknik, let us know through the [Contact](https://contact.teknik.io/) page. Don't forget to give feedback and suggest new features! :)