wolfman165 / insta

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introductions

This web app just like instagram, but less functions. Only single user picture blog.
This app is licensed under a MIT license.

Open Source license

  1. Node.js homepage - show license
  2. Express.js homepage - show license
  3. Sequelize.js homepage - show license
  4. Semantic-UI homepage - show license
  5. Vue.js homepage - show license
  6. MySQL homepage - show license
  7. mysqljs homepage - show license
  8. EJS homepage - show license

may be some open source project doesn't in this list.

Installation

  1. install Node.js v6.2.0+

  2. npm install pm2 -g

  3. install MySQL v5.7.11+ , and set the encoding to utf8

  4. install nginx

  5. git clone /link/to/this/program , and touch config.json in the program top level folder.

        {
            "app": {
                "port": 9000,
                "host": "localhost",
                "timezone": "+08:00"
            },
            "db": {
                "type": "mysql",
                "username": "root",
                "password": "123456",
                "database": "insta",
                "host": "localhost",
                "port": 3306,
                "pool": {
                    "max": 5,
                    "min": 0,
                    "idle": 10000
                }
            }
        }
  6. cd /path/to/this/program & npm install

  7. cd /path/to/this/program/app/assets/page & npm install & npm run build

  8. cd /path/to/this/program/app/assets/root & npm install & npm run build

  9. install graphicsmagick for image compression

  10. start program using pm2, listening the local port, use nginx for reverse proxy

The init account

The initial account: {
    username: "root"
    password: "123456"
}

GUI

The following picture pictures may be a little different from the real programs

page interface, '/' or '/page' or '/index'
login interface

page phone
login interface

login interface, /login
login interface

editor interface, /root#!/editor
editor interface

select image on pc
select image interface

select image on phone
select image interface

setting interface on pc
setting interface

setting interface on phone
setting interface

Version 3 Features

  1. Backup zip file encryption

  2. Account infomations backup

  3. All database fileds case sensitive

  4. Image compression

  5. Add favicon

About

License:MIT License


Languages

Language:JavaScript 72.1%Language:Vue 21.6%Language:HTML 6.3%