A deployable web platform for collaborative conversation, ideation & sense-making. Use it for free at https://github.com/metamaps/metamaps
Go to file
2018-03-05 11:31:54 -05:00
public remove csrf stuff 2018-03-05 11:31:54 -05:00
realtime include realtime server as part of express server 2018-03-04 19:30:17 -05:00
sass use node-sass now 2018-03-03 15:57:02 -05:00
src remove csrf stuff 2018-03-05 11:31:54 -05:00
test remove stuff 2018-02-15 13:47:28 -05:00
test_support remove stuff 2018-02-15 13:47:28 -05:00
views remove csrf stuff 2018-03-05 11:31:54 -05:00
.agignore Into master: two finger pan/zoom, map and topic follows (for internal testing) on the UI, map activity emails (#1084) 2017-03-06 22:49:46 -05:00
.babelrc babel-plugin-lodash to slim down bundle size by 300 KB 2016-09-25 21:53:26 +08:00
.buildpacks multi-buildpack setup for heroku: 2016-08-09 13:49:38 +08:00
.codeclimate.yml re-enable codeclimate duplication 2017-03-10 08:30:01 -08:00
.eslintignore [WIP] code climate config file (#654) 2016-09-23 18:36:47 +08:00
.example-env database called metamaps, not metamap002 in example 2017-01-18 13:10:09 -05:00
.gitignore use node-sass now 2018-03-03 15:57:02 -05:00
.nvmrc add nvmrc 2016-09-10 20:30:58 -04:00
apiProxyMiddleware.js remove csrf stuff 2018-03-05 11:31:54 -05:00
Metamaps.ServerData.js.erb remove stuff 2018-02-15 13:47:28 -05:00
package-lock.json add express server 2018-02-15 14:16:54 -05:00
package.json remove csrf stuff 2018-03-05 11:31:54 -05:00
README.md include realtime server as part of express server 2018-03-04 19:30:17 -05:00
server.js include realtime server as part of express server 2018-03-04 19:30:17 -05:00
webpack.config.js add express server 2018-02-15 14:16:54 -05:00
webpack.test.config.js new react tests with enzyme library (#1116) 2017-05-13 13:50:52 -04:00

Make sure you have nodemon and node-sass installed $ npm install -g nodemon node-sass

Run the following at the same time, in two terminals

$ API=http://localhost:3001 nodemon server.js
$ node-sass -w sass/application.scss public/css/application.css

To run the server as a daemon that will be re-run if it crashes, you can use the forever node package.

$ npm install -g forever
$ forever start server.js

Run the metamaps api in another terminal using $ rails s -p 3001