Skip to content

vinc/pi.ctu.re

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Picture

Build Status Code Climate Code Coverage

Picture (https://pi.ctu.re) is a website where you can share your pictures and pay for the data stored and transferred. The code is open source so you can also host your own instance.

Picture

Development

All the data is contained in a PostgreSQL database.

The main website is a rails app:

$ git clone https://github.com/vinc/pi.ctu.re
$ cd pi.ctu.re
$ cp .env.sample .env
$ yarn install
$ bundle install
$ rails db:setup
$ rails generate admin
$ rails server

And images are delivered by a node app:

$ git clone https://github.com/vinc/infra.stru.ctu.re
$ cd infra.stru.ctu.re
$ cp .env.sample .env
$ yarn install
$ yarn start

A local instance can also be run using Docker:

$ git clone --recursive https://github.com/vinc/stru.ctu.re
$ cd stru.ctu.re
$ docker-compose up
$ docker-compose exec web rails db:setup
$ docker-compose exec web rails generate admin

In all cases a web server is listening at http://localhost:3000

License

Copyright (c) 2011-2023 Vincent Ollivier. Released under MIT.