You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nbriz edited this page Aug 16, 2020
·
13 revisions
Welcome to the netnet.studio wiki!
Setup
netnet.studio is almost entirely a client-side application, but there is a tiny bit of server side logic and I imagine we might want to add some more later, like GitHub integration (maybe also some sockets for realtime collaborative editing?). For this reason we need to have nodejs installed (to run the server and download dependencies) as well as git. Once we've cloned the repo locally for development we need to download the dependencies:
git clone https://github.com/netizenorg/netnet.studio.git
cd netnet.studio
npm install
Then you'll need to create the .env file by running
npm run env-file
Development
To run the server:
node server
Then visit http://localhost:8001 in the browser (assuming 8001 is the port number in the .env file).
We're using standardJS as our style guide, so before pushing any code we should check that everything's tidy by running:
npm run lint
But that can get annoying, so it's better to just install a standard plugin for your preferred code editor so we can do our linting as we code.