- Clone this repository.
cd
into theapp
folder & initialize yourpackage.json
:npm init -f
.cd
into theclient
folder & install our dev dependencies:npm install --save-dev @babel/core @babel/plugin-proposal-class-properties @babel/plugin-proposal-decorators @babel/plugin-syntax-dynamic-import @babel/preset-env @babel/preset-react @babel/polyfill "babel-loader@^8.0.0-beta" html-webpack-plugin webpack webpack-cli webpack-dev-server
- Install our regular dependencies:
npm install --save apollo-boost graphql react react-apollo react-dom react-loadable react-router-dom
- If you're using c0d3's server:
- Create a your own port at https://apps.c0d3.com/.
- Modify your
webpack.config.js
'sdevServer
value to:
devServer: { historyApiFallback: true, port: PUT_YOUR_PORT_NUMBER_IN_HERE, // for example: 9680 allowedHosts: [ 'PUT_CHOSEN_DOMAIN_NAME_IN_HERE' // for example: '.c0d3.com' ], },
- Use the following command to run the client:
npm run dev
. - If you run into issues related to files in the codebase, email Maricris for help (hello@vimgirl.com).
- Make sure you have Node, Go, and Dep already installed on your machine.
- Set your GOPATH:
export GOPATH={path to app directory}/server
- Run the following:
cd server/src/app dep init
- Use the following command to run the server:
USER=XXXX DBNAME=XXXX go run main.go
(email Maricris for DB info).