在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:securityfirst/tent开源软件地址:https://github.com/securityfirst/tent开源编程语言:Go 100.0%开源软件介绍:TentTent is a content management system that leverages a Github Repository to store its content and its history. That allows Tent to use the Content as code standard. ConfigurationSome steps are required for using tent. ServerTent is best run on the following infrastructure: -Ubuntu Server 16.04.3 LTS -Windows 2012 We recommend it running with a minimum of 1GB RAM, 1 GB of storage. ServicesLocation, local laws and choice of service provider is important when considering the security of any deployment. For NGOs, we particularly recommend the use https://eclips.is - run by a privacy friendly provider who provide free server space in multiple jurisdictions. SecurityWe highly recommend hardening of any server that Tent is running on. For example for Linux we recommend using the following guides: [Ubuntu Server Hardening Guide: Quick and Secure] (https://linux-audit.com/ubuntu-server-hardening-guide-quick-and-secure/) [Best practices for hardening a new server] (https://www.digitalocean.com/community/questions/best-practices-for-hardening-new-sever-in-2017) For Windows 2012 we recommend using the following guides: [Windows Sever 2012 Hardening Checklist] (https://wikis.utexas.edu/display/ISO/Windows+Server+2012+R2+Hardening+Checklist) [Server Hardening: Windows Server 2012] (https://technet.microsoft.com/en-us/security/jj720323.aspx) We also recommend the usage of server auditing measurements such as those provided by the [Center for Internet Security](Center for Internet Security) and SCAP. Auditing tools we recommend include CIS-CAT, Open Scap and Lynis. For non-profits we also want to highlight the availability of a number of discount or free tools that can be used to help ensure the security of a Tent deployment: Tenable Nessus Non-Profit Donation [Crowdstrike Non-Profit Donation] (https://www.crowdstrike.org) For enhanced security of the Tent server, we recommend the conducting of a penetration test according to the SAFETAG methodology - designed specifically for civil society groups at risk. ProjectCreate the repository that will store your content, by using this page.
Once it's created go into project Settings in the Webhooks menu.
Here you can create a new hook with the following URL
OAuthTent needs an OAuth application configured in order to work.
The application can be bound to an user (using this form)
or an organization ( Once it's created client id and client secret will be available.
You can also change several other parameters including Authorization callback URL:
this should be set as BinaryDownload the latest version of the binary or build it from source.
In order to do so install latest version of Go
then execute ConfigurationNow you create a configuration file named Github:
Handler: "awesomeorg" # Github user of the project
Project: "myawesomeproject" # Project name
Branch: "master" # Project branch (default is master)
Config:
Id: "YOUR_CLIENT_ID" # replace with your client_id
Secret: "YOUR_CLIENT_SECRET" # replace with your secret
OAuthHost: "https://YourAppPublicDomain" # replace with the endpoint you specified
Login:
Endpoint: "/auth/login"
Logout:
Endpoint: "/auth/logout"
Callback:
Endpoint: "/auth/callback"
State: "whatever"
Server:
Port: 80 # Port used by the App
Transifex:
Project: "project-name"
Username: "user"
Password: "password"
Language: en RunOnce everything is ready you can start the app using Repo structureThe repo have the following structure Assets
Forms
[Name]: # (Title of the form)
[Type]: # (screen)
[Name]: # (Name of the first screen)
[Type]: # (text_area)
[Name]: # (input_name)
[Label]: # (Label of the input)
[Type]: # (screen)
[Name]: # (Another scree)
[Type]: # (multiple_choice)
[Name]: # (another-input)
[Label]: # (Label for the input)
[Options]: # (Option 1;Option 2;Option 3) Content
Sample RepoThis a the repo used by tent in the Umbrella App: https://github.com/securityfirst/tent-content This is another sample repo, with sample content, that you can use to check how things works: https://github.com/securityfirst/tent-example New! BranchesYou can work on a specific branch of your content project, this is very usefull for testing purpose (i.e. a big update on content). TroubleshotWhen you execute
If some files is not formatted correctly and raises an error you will see something like:
LocalisationYou can upload the app content to transifex for translation with the command After translations are done you can use |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论