Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
db
 
 
lib
 
 
log
 
 
 
 
 
 
tmp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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-2018 Vincent Ollivier. Released under MIT.

About

Upload your pictures to the cloud πŸ“·

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.