An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

![1C Logo](http://drteam.rocks/images/1c-repo-maker/1c_x200.jpg)

# 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/)