Yarn init.

This commit is contained in:
Yuriy Pikhtarev 2017-06-12 06:03:39 +03:00
commit e9a76e6a5c
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
3 changed files with 20 additions and 7 deletions

1
.gitignore vendored
View file

@ -16,6 +16,7 @@ internal_data/triggers
library/config.local.php library/config.local.php
node_modules node_modules
vendor vendor
yarn.lock
### Archives ### ### Archives ###
*.log *.log

View file

@ -1,4 +1,4 @@
<p align="center"><img src="https://torrentpier.me/forum/styles/default/xenforo/bull-logo.svg" width="400px" /></p> <p align="center"><a href="https://torrentpier.me/"><img src="https://torrentpier.me/forum/styles/default/xenforo/bull-logo.svg" width="400px" /></a></p>
<p align="center"> <p align="center">
<a href="http://torrentpier.herokuapp.com/"><img src="http://torrentpier.herokuapp.com/badge.svg" alt="Slack"></a> <a href="http://torrentpier.herokuapp.com/"><img src="http://torrentpier.herokuapp.com/badge.svg" alt="Slack"></a>
<a href="https://crowdin.com/project/torrentpier"><img src="https://d322cqt584bo4o.cloudfront.net/torrentpier/localized.svg" alt="Crowdin"></a> <a href="https://crowdin.com/project/torrentpier"><img src="https://d322cqt584bo4o.cloudfront.net/torrentpier/localized.svg" alt="Crowdin"></a>
@ -41,10 +41,10 @@ For installation you need to follow a few simple steps:
1. Edit database configuration settings in the configuration file or a local copy (see below) 1. Edit database configuration settings in the configuration file or a local copy (see below)
1. Edit domain name in the configuration file or a local copy (see below) 1. Edit domain name in the configuration file or a local copy (see below)
1. Edit this files: 1. Edit this files:
+ **favicon.png** (change on your own) 1. **favicon.png** (change on your own)
+ **robots.txt** (change the addresses in lines **Host** and **Sitemap** on your own) 1. **robots.txt** (change the addresses in lines **Host** and **Sitemap** on your own)
+ **opensearch_desc.xml** (change the description and address on your own) 1. **opensearch_desc.xml** (change the description and address on your own)
+ **opensearch_desc_bt.xml** (change the description and address on your own) 1. **opensearch_desc_bt.xml** (change the description and address on your own)
1. Log in to the forum with admin/admin login/password and finish setting up via admin panel 1. Log in to the forum with admin/admin login/password and finish setting up via admin panel
## Access rights on folders and files ## Access rights on folders and files
@ -70,8 +70,8 @@ information about that you can read [this thread](https://torrentpier.me/forum/t
## Local configuration copy ## Local configuration copy
You can override the settings using one of these methods: configuration file **library/config.local.php** and the environment You can override the settings using one of these methods: configuration file **library/config.local.php** and the environment
file **.env**. Both files are created by copying the appropriate .example templates without this extension. The local file **.env**. Both files are created by copying the appropriate .example templates without extension. Local configuration files
configuration files should be available for reading to anyone by setting up access rights for your web server. should not be available for reading to anyone by setting up access rights for your web server.
## Ocelot installation ## Ocelot installation

12
package.json Normal file
View file

@ -0,0 +1,12 @@
{
"name": "torrentpier",
"version": "2.1.6",
"description": "Bull-powered BitTorrent tracker engine",
"main": "index.js",
"repository": "git@github.com:torrentpier/torrentpier.git",
"author": "Exile <admin@torrentpier.me>",
"license": "MIT",
"dependencies": {
"jquery": "^3.2.1"
}
}