Giter VIP home page Giter VIP logo

ld2l's Introduction

Setup instructions

Manual installation steps

You need to do some things manually for now

  • Install Node.js
  • Install MySQL

Global npm packages

You need to have several packages installed globally to build the site (i.e. with make) for deployment:

  • uglifyjs
  • less
  • less-plugin-clean-css
  • showdown

You need the db-migrate packages to create new db migrations (i.e. during development)

  • db-migrate
  • db-migrate-mysql

Scripts

These will install node dependencies and configure mysql for us, if you meet some prereqs:

  • Configure your local root mysql user to have no password, or use mysql -u root -p below
$ npm install
### With no root mysql password installed:
# mysql < setup.sql

DB Migration

db migration scripts are run automatically at server startup if necessary. To create a new db migration, if things are updated, install db-migrate and db-migrate-mysql globally, configure a database.json in the local folder, and use

db-migrate create whatever-name

to generate the skeleton. Paste the appropriate SQL for changes into migrations/sql/-whatever-name.sql

ld2l's People

Contributors

gmalysa avatar a-tiller avatar emsimpson92 avatar

Watchers

James Cloos avatar

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.