Closed birm closed 1 year ago
Add how to setup for development
viewer:
build: "../caMicroscope"
container_name: ca-front
volumes:
- ./config/login.html:/var/www/html/login.html
- ../caMicroscope/:/var/www/html/
I think we should setup a linter such as eslint to maintain a standard formatting in all file
That was an adventure; done with https://github.com/camicroscope/caMicroscope/pull/272
We can include this :
When you are ready to start work on a issue:
If you don't see your idea listed, do one of the following:
Create a branch. For example, if you are going to work on issue number #44 (which is, say, a new feature for ‘forgot password’ management):
git checkout -b forgot-password#44
This both creates and checks out that branch in one command.
The feature name should provide a (short) description of the issue.
Update the README.md with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters.
Develop the feature, check the build, make sure that there are no linting errors by running ESLint commands, as listed in 'travis.yml'
Push it to your local repo.
Create Pull Request (PR). Make sure to comment the issue that your PR is supposed to solve, so that the issue can be closed automatically when the PR is merged.
Reference : https://github.com/CircuitVerse/CircuitVerse/blob/master/CONTRIBUTING.md (liked this a lot)
We can also set up a script in package.json, so that the user can check for linting errors on all the files, at once. I would like to work on this.
I have setup the 'lint' script in #282 . Please review it
We can add the following to the development guide(or can extend it to a wiki page or similar):
general contributor guide
and specific to each of the Devs and Others.For Developers we already have CONTRIBUTING.md file, but can add more details to help contributors to get started with the project easily.
Currently the CONTRIBUTING.md has:
We can add:
(Also, if there is some major changes in techstack happening(like shifting to a different framework), that can be listed here itself in this seperate guide; along with beginner-friendly issues as well as the others. This can possibly attract many more members to community as the collaborator or mentor can assign issues to the contributors as well.)
Thank you. Would love to know the opinions and views upon this and work on this issue.
Can anyone provide detailed instructions on how to set up this application locally on Windows 10
@siddhanth339, what issues are you experiencing when trying the instructions?
Now it's working fine with the help of this article camicroscope-development-environment. We could add a detailed setup file to this repository for people having trouble running it locally i.e., right from including steps about installing docker with wsl2 to using the application locally (how to access each path, set jwt token, etc).
We can look at pull request if you have a suggestion. 😃
I will work on it and create a pull request soon.
Actually, something related to setting up the development environment is going to be very useful for everyone, it will help a lot of people, even I encountered problems related to the set up.
Closing as a stale issue. Feel free to reopen if you think this should be active still.
Add comments here to change or extend the caMicroscope development guide section of the README.