Giter Club home page Giter Club logo

sw_tapok_drawing's Introduction

DEPRECATED

Install

For normal work need node >= 10.0

All commands need run from project root directory.

Install need node modules:

npm install

Create temp empty database:

cat ./sql/database.sql | sqlite3 ./cache/database.db

Run Admin

From project root directory run:

./bin/admin.sh

After open in your browser http://localhost:9001

login: admin

password: adminADMIN111

It's local admin for comfortable working with local data only. Do NOT use in production.

Import/export database

For export database data to json (static sity public data) use:

./bin/db2json.js

For import data from json to database use:

./bin/json2db.js

All old data will be deleted.

Build Static Site

First you need export database. You can build site with gulp:

 ./node_modules/.bin/gulp --env=prod

or

 ./bin/gulp --env=prod

Run Static Site

From project root directory run:

./bin/site.sh

After open in your browser http://localhost:9002

sw_tapok_drawing's People

Contributors

chipviled avatar

Watchers

 avatar  avatar

sw_tapok_drawing's Issues

Winer picture

Check box 'win' must be on picture, not on iteration.

Prod build is broken

Prod build is broken:

Caused by: SyntaxError: Unexpected character '`'
File: sw_tapok_drawing/src/sity/js/_include.js
Line: 3
Col: 16

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.