https://github.com/evilfreelancer/1c-repository-maker
A collection of scripts to create a repository of deb or rpm packages 1C thin client.
https://github.com/evilfreelancer/1c-repository-maker
1c 1c-packages deb maker makers repository thin-client
Last synced: 7 months ago
JSON representation
A collection of scripts to create a repository of deb or rpm packages 1C thin client.
- Host: GitHub
- URL: https://github.com/evilfreelancer/1c-repository-maker
- Owner: EvilFreelancer
- License: mit
- Created: 2016-09-16T12:05:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-03T01:54:53.000Z (almost 9 years ago)
- Last Synced: 2025-02-09T15:15:43.325Z (over 1 year ago)
- Topics: 1c, 1c-packages, deb, maker, makers, repository, thin-client
- Language: Shell
- Homepage: http://1c.drteam.rocks
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# 1C Thin Client Repository Maker
A collection of scripts to create a repository of deb or rpm packages 1C thin client.
## How to get and use
git clone git@github.com:EvilFreelancer/1c-repository-maker.git
cd 1c-repository-maker
./scripts/1c.sh
After this the program starts to download files from the 1C site.
## Automate it
You can automate packages update via Cron, for example:
# Update 1C packages
0 1 * * * /opt/scripts/1c-repository-maker/scripts/1c.sh
__Warning: Absolute path is important!__
This example mean: "Run script every day at 0 hours 0 minutes", more details you can find on [Wikipedia](https://en.wikipedia.org/wiki/Cron#Overview).
## Web-server configuration examples
### NGINX
server {
listen 80;
server_name 1c.example.com;
root /path/to/repo/public;
charset utf8;
server_tokens off;
location / {
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
}
}
### Apache
Alias / /path/to/repo/public/
Options +Indexes
AllowOverride None
order allow,deny
allow from all
## Depends on
* bash
* wget
* dpkg-scanpackages (from dpkg-dev)
* createrepo
* gzip
Command for installing of all dependencies on Debian/Ubuntu:
apt-get install bash wget dpkg-dev createrepo gzip
## Some links
* [Download page of 1C thin client](https://1cfresh.com/articles/thin_install_linux)
* [Working repository with 1C packages](http://1c.drteam.rocks/)