Skip to content

A collection of scripts to create a repository of deb or rpm packages 1C thin client.

License

Notifications You must be signed in to change notification settings

EvilFreelancer/1c-repository-maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1C Logo

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.

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/
<Directory /path/to/repo/public>
        Options +Indexes
        AllowOverride None
        order allow,deny
        allow from all
</Directory>

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

About

A collection of scripts to create a repository of deb or rpm packages 1C thin client.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published