summaryrefslogtreecommitdiff
path: root/README
blob: 70d361184e467820c88cda159d894b79475afaee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
bucky
=====

# npm install
# brew install mysql (used for main database)
# brew install mongodb (used for sessions)
# set up the mysql database:

mysql -uroot
CREATE USER 'carbon'@'localhost' IDENTIFIED BY 'the_password';
CREATE DATABASE bucky;
USE bucky;
GRANT ALL PRIVILEGES ON bucky.* TO 'carbon'@'localhost';

# copy .env-sample to .env and edit the values to correspond
# load up a copy of bucky

scp carbon@carbonpictures.com:bucky-20150903.sql .
mysql -u carbon -p bucky < bucky-20150903.sql

# run the migrations (makes most blob fields into text)

knex migrate:latest

# node index

Server will be running at http://lvh.me:5000/